diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-11 00:49:19 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-11 00:49:19 -0700 |
commit | d0a2eaecd6c1ef61fbb841d726c183923b903f0c (patch) | |
tree | bfb0c820b6485bee11bab6cabc23907226c63ce6 /web/static/dartboat.js | |
parent | 1980400a619104bdd15b49fcca42ebd0da0da7be (diff) | |
download | dartboat-d0a2eaecd6c1ef61fbb841d726c183923b903f0c.tar.gz dartboat-d0a2eaecd6c1ef61fbb841d726c183923b903f0c.tar.xz |
web: add prettier icons
The icons come from the lovely people at Bootstrap, who've shared them
under a permissive licence. To avoid loading a large file consisting
almost entirely of icons we'll never display, I've generated the icon
font myself, limiting it to only the glyphs we use.
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r-- | web/static/dartboat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js index ace2900..f2593f7 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -144,7 +144,7 @@ function boatAfloat() { function flipControls(store_opt = true) { const enabled = $('#main').classList.toggle('controls-on-right'); - $('#flip-controls-button').textContent = enabled ? '\u2190' : '\u2192'; + $('#flip-controls-button').textContent = enabled ? '\uf1c2' : '\uf1c3'; if (store_opt) localStorage.setItem('dartboat_controls_on_right', enabled); } |