MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 123: Line 123:


             // Toggle to the next image on click
             // Toggle to the next image on click
             $('.article-images').on('click', function () {
             $('.article-images').off('click').on('click', function () {
                 currentImageIndex = (currentImageIndex + 1) % images.length;
                 currentImageIndex = (currentImageIndex + 1) % images.length;
                 updateArticleContent();
                 updateArticleContent();

Navigation menu