projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f296c3d
)
Fix tooltips removal on smartphone
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 8 Apr 2020 18:38:20 +0000
(20:38 +0200)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 8 Apr 2020 18:38:20 +0000
(20:38 +0200)
client/src/views/Game.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
8667e9b
..
6d506c5
100644
(file)
--- a/
client/src/views/Game.vue
+++ b/
client/src/views/Game.vue
@@
-1211,6
+1211,9
@@
export default {
this.$nextTick(() => {
// Disable tooltips on smartphones:
document.querySelectorAll("#aboveBoard .tooltip").forEach(elt => {
+
+alert(elt);
+
elt.classList.remove("tooltip");
});
});