Skip to content

Commit

Permalink
Fix issue with arrow symbols (proginosko#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
proginosko committed Feb 26, 2023
1 parent 52dcc25 commit 25a1a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions options.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ul>
<div id="blockSet1">
<p>
<button id="moveSetL1" type="button">&#x2BC7; Move Set</button>
<button id="moveSetR1" type="button" style="float: right;">Move Set &#x2BC8;</button>
<button id="moveSetL1" type="button">&larr; Move Set</button>
<button id="moveSetR1" type="button" style="float: right;">Move Set &rarr;</button>
</p>
<fieldset>
<legend>What to Block</legend>
Expand Down
5 changes: 0 additions & 5 deletions options.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ function initForm(numSets) {
// Set up JQuery UI widgets
$("#tabs").tabs({ activate: onActivate });
for (let set = 1; set <= gNumSets; set++) {
if (gIsAndroid) {
// Use alternative arrows on move-left/move-right buttons
$(`#moveSetL${set}`).html("&#x25C0; Move Set");
$(`#moveSetR${set}`).html("Move Set &#x25B6;");
}
$(`#moveSetL${set}`).click(function (e) {
swapSets(set, set - 1);
$("#tabs").tabs("option", "active", set - 2);
Expand Down

0 comments on commit 25a1a4b

Please sign in to comment.