Widget:tileSearch: Difference between revisions
Jump to navigation
Jump to search
Fixed wrong counting system GRRRR |
Added document-ready wait functionality as the MediaWiki does not wait for DOM |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><script> | <includeonly><script> | ||
RLQ.push(function () { | RLQ.push(['jquery', function () { | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('.userselectiongridtable td, .userselectionpositiontable td').click(function() { | $('.userselectiongridtable td, .userselectionpositiontable td').click(function() { | ||
Line 12: | Line 12: | ||
}); | }); | ||
}); | }); | ||
}); | }]); | ||
function refreshList() { | function refreshList() { | ||
var searchedData = getSearchData(); | var searchedData = getSearchData(); | ||
var searchKey = calculateTileKey(searchedData); | var searchKey = calculateTileKey(searchedData); | ||
Line 155: | Line 153: | ||
<div style="display:inline-block"> | <div style="display:inline-block"> | ||
<div | <div class="tileSearchDiv"> | ||
The doll should buff these fields:<br/> | |||
<table class="userselectiongridtable"> | <table class="userselectiongridtable"> | ||
<tbody> | <tbody> | ||
Line 176: | Line 175: | ||
</table> | </table> | ||
</div> | </div> | ||
<div class="tileSearchDiv"> | |||
<div | The doll may stand on these fields:<br/> | ||
<table class="userselectionpositiontable"> | <table class="userselectionpositiontable"> | ||
<tbody> | <tbody> |
Latest revision as of 15:08, 14 October 2019
The doll should buff these fields:
The doll may stand on these fields: