MediaWiki:Gadget-switcher.js: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 May 2022

  • curprev 12:0812:08, 22 May 2022Maxwells talk contribs 1,380 bytes +1,380 Created page with "'use strict'; $( function () { $.each( document.querySelectorAll( '.switcher-container' ), function ( i, container ) { var selected, $radio; var switchers = [] var radioName = 'switcher-' + i; $.each( container.children, function ( j, switcher ) { var label = switcher.querySelector( '.switcher-label' ); if ( !label || !label.childNodes.length ) { return; } switchers.push( switcher ); $radio = $( '<input>' ).prop({ type: 'radio', name: radioNam..."