Jump to content

MediaWiki:Common.js: Difference between revisions

why does it only find the sort button some of the time?
(same)
(why does it only find the sort button some of the time?)
Line 545: Line 545:
                         if ($(theTable).hasClass(colOption))
                         if ($(theTable).hasClass(colOption))
                         {
                         {
                            alert("Table " + j " wants to sort by column " + sortColumnNum);
                             sortColumnNum = col;
                             sortColumnNum = col;
                             break;
                             break;