MediaWiki:Common.js: Difference between revisions

what are you yelling about mediawiki
(are you happy now epyep?)
(what are you yelling about mediawiki)
Line 52: Line 52:
     if (!!$('.cyclist').filter(function() { return $(this).is(":hover"); }).length) return;
     if (!!$('.cyclist').filter(function() { return $(this).is(":hover"); }).length) return;
     $('.cyclist > :not(:hidden)').hide().each(function() {
     $('.cyclist > :not(:hidden)').hide().each(function() {
       var elem = $(this)
       var elem = $(this);
       elem.next().show();
       elem.next().show();
       if (elem.is(':last-child')) elem.siblings().first().show();
       if (elem.is(':last-child')) elem.siblings().first().show();
184

edits