Skip to content

Commit

Permalink
Fix ancient Attraction Bonus slider buggy interaction in Map & Crown …
Browse files Browse the repository at this point in the history
…Solver
  • Loading branch information
tsitu committed Apr 24, 2024
1 parent 1dd7fe8 commit 82c8c1f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
16 changes: 8 additions & 8 deletions crown.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
Cookies.set('savedAttraction', attractionBonus, {
expires: 30
});
sliderDelay = setTimeout(function() { processMap(mapText); }, 500);
sliderDelay = setTimeout(function() { processMap(mapText, "crown"); }, 500);
}
</script>

Expand Down Expand Up @@ -254,12 +254,12 @@ <h1>Crown Solver</h1>
<form>
<fieldset style="padding: 5px">
<legend style="text-align: center">Cheese Filters</legend>
<input type="checkbox" class="cheese-filter" name="magicEssence">&nbsp;Magic Essence</input><br>
<input type="checkbox" class="cheese-filter" name="common">&nbsp;Common</input><br>
<input type="checkbox" class="cheese-filter" name="crafted">&nbsp;Crafted</input><br>
<input type="checkbox" class="cheese-filter" name="marketplace">&nbsp;Marketplace</input><br>
<input type="checkbox" class="cheese-filter" name="shoppe">&nbsp;Shoppe</input><br>
<input type="checkbox" class="cheese-filter" name="eventLoc">&nbsp;Event Locations</input><br><br>
<input type="checkbox" class="cheese-filter" name="magicEssence">&nbsp;Magic Essence<br>
<input type="checkbox" class="cheese-filter" name="common">&nbsp;Common<br>
<input type="checkbox" class="cheese-filter" name="crafted">&nbsp;Crafted<br>
<input type="checkbox" class="cheese-filter" name="marketplace">&nbsp;Marketplace<br>
<input type="checkbox" class="cheese-filter" name="shoppe">&nbsp;Shoppe<br>
<input type="checkbox" class="cheese-filter" name="eventLoc">&nbsp;Event Locations<br><br>
<button type="button" id="clearFilter">Reset</button><br><br>
<textarea id="combinedFilter" placeholder="Terms to filter out" cols="20" rows="4" style="resize: none; margin: 0 0 0 4px"
readonly></textarea>
Expand Down Expand Up @@ -288,7 +288,7 @@ <h1>Crown Solver</h1>
<tr>
<td>
<div style="text-align: center">
Autocomplete Off (requires refresh)&nbsp;<input type="checkbox" id="toggleAutocomplete"></input><br>
Autocomplete Off (requires refresh)&nbsp;<input type="checkbox" id="toggleAutocomplete"><br>
</div>
<textarea id="map" rows="25" cols="40" style="padding: 3px 0 0 5px"></textarea>
</td>
Expand Down
16 changes: 8 additions & 8 deletions map.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
Cookies.set('savedAttraction', attractionBonus, {
expires: 30
});
sliderDelay = setTimeout(function() { processMap(mapText); }, 500);
sliderDelay = setTimeout(function() { processMap(mapText, "map"); }, 500);
}
</script>

Expand Down Expand Up @@ -254,12 +254,12 @@ <h1>Map Solver and Mouse Finder</h1>
<form>
<fieldset style="padding: 5px">
<legend style="text-align: center">Cheese Filters</legend>
<input type="checkbox" class="cheese-filter" name="magicEssence">&nbsp;Magic Essence</input><br>
<input type="checkbox" class="cheese-filter" name="common">&nbsp;Common</input><br>
<input type="checkbox" class="cheese-filter" name="crafted">&nbsp;Crafted</input><br>
<input type="checkbox" class="cheese-filter" name="marketplace">&nbsp;Marketplace</input><br>
<input type="checkbox" class="cheese-filter" name="shoppe">&nbsp;Shoppe</input><br>
<input type="checkbox" class="cheese-filter" name="eventLoc">&nbsp;Event Locations</input><br><br>
<input type="checkbox" class="cheese-filter" name="magicEssence">&nbsp;Magic Essence<br>
<input type="checkbox" class="cheese-filter" name="common">&nbsp;Common<br>
<input type="checkbox" class="cheese-filter" name="crafted">&nbsp;Crafted<br>
<input type="checkbox" class="cheese-filter" name="marketplace">&nbsp;Marketplace<br>
<input type="checkbox" class="cheese-filter" name="shoppe">&nbsp;Shoppe<br>
<input type="checkbox" class="cheese-filter" name="eventLoc">&nbsp;Event Locations<br><br>
<button type="button" id="clearFilter">Reset</button><br><br>
<textarea id="combinedFilter" placeholder="Terms to filter out" cols="20" rows="4" style="resize: none; margin: 0 0 0 4px"
readonly></textarea>
Expand Down Expand Up @@ -288,7 +288,7 @@ <h1>Map Solver and Mouse Finder</h1>
<tr>
<td>
<div style="text-align: center">
Autocomplete Off (requires refresh)&nbsp;<input type="checkbox" id="toggleAutocomplete"></input><br>
Autocomplete Off (requires refresh)&nbsp;<input type="checkbox" id="toggleAutocomplete"><br>
<a href="" id="mapLink" target="_blank" rel="noopener">Link to this list</a>
</div>
<textarea id="map" rows="25" cols="40" style="padding: 3px 0 0 5px"></textarea>
Expand Down
1 change: 0 additions & 1 deletion setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@
<td>Battery Level:</td>
<td>
<input type="number" id="battery" min="0" max="10">
</input>
</td>
</tr>

Expand Down

0 comments on commit 82c8c1f

Please sign in to comment.