2011-04-29 02:19:02 +02:00
|
|
|
(function($) {
|
External Libraries: Further fix jQuery deprecations in WordPress core.
Follow-up to [50001], [50270], [50367], [50383], [50410], [50420], [50429], [50547].
Props chaion07, Clorith, costdev, desrosj, malthert, peterwilsoncc, presskopp, promz, sabernhardt, SergeyBiryukov, toro_unit, wpnomad.
Fixes #51519.
Built from https://develop.svn.wordpress.org/trunk@52285
git-svn-id: http://core.svn.wordpress.org/trunk@51877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-30 18:18:01 +01:00
|
|
|
$( function() {
|
2021-01-22 13:32:03 +01:00
|
|
|
$('.feature-slider a').on( 'click', function(e) {
|
2011-04-29 02:19:02 +02:00
|
|
|
$('.featured-posts section.featured-post').css({
|
|
|
|
opacity: 0,
|
|
|
|
visibility: 'hidden'
|
|
|
|
});
|
|
|
|
$(this.hash).css({
|
|
|
|
opacity: 1,
|
|
|
|
visibility: 'visible'
|
|
|
|
});
|
|
|
|
$('.feature-slider a').removeClass('active');
|
|
|
|
$(this).addClass('active');
|
|
|
|
e.preventDefault();
|
|
|
|
});
|
External Libraries: Further fix jQuery deprecations in WordPress core.
Follow-up to [50001], [50270], [50367], [50383], [50410], [50420], [50429], [50547].
Props chaion07, Clorith, costdev, desrosj, malthert, peterwilsoncc, presskopp, promz, sabernhardt, SergeyBiryukov, toro_unit, wpnomad.
Fixes #51519.
Built from https://develop.svn.wordpress.org/trunk@52285
git-svn-id: http://core.svn.wordpress.org/trunk@51877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-30 18:18:01 +01:00
|
|
|
} );
|
2021-01-22 13:32:03 +01:00
|
|
|
})(jQuery);
|