Jump to content

MediaWiki:Common.js: Difference between revisions

same
(attempting to fix autosort)
(same)
Line 553: Line 553:


                 // ...Look for sort button and click it
                 // ...Look for sort button and click it
                 var allTHs = theTable.getElementsByTagName("th");
                 var allTHs = $(theTable).getElementsByTagName("th");
                 alert("Looking for sort button for column " + sortColumnNum);
                 alert("Looking for sort button for column " + sortColumnNum);
                 if (!allTHs)
                 if (!allTHs)