Widget:WJG UserExamQuery: Difference between revisions
Jump to navigation
Jump to search
Undo revision 1000199 by William J Gibson (talk) |
No edit summary |
||
Line 41: | Line 41: | ||
runQuery(); | runQuery(); | ||
} | } | ||
}); | |||
}); | |||
$("tr:odd").addClass("odd"); | |||
$("tr:not(.odd)").hide(); | $("tr:not(.odd)").hide(); | ||
$("tr:first-child").show(); | $("tr:first-child").show(); | ||
Line 50: | Line 51: | ||
$(this).find(".arrow").toggleClass("up"); | $(this).find(".arrow").toggleClass("up"); | ||
}); | }); | ||
}; | |||
function runQuery() { | function runQuery() { | ||
var api = new mw.Api(); | var api = new mw.Api(); |