projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fixes
[vchess.git]
/
client
/
src
/
views
/
Game.vue
diff --git
a/client/src/views/Game.vue
b/client/src/views/Game.vue
index
e909f70
..
703ba18
100644
(file)
--- a/
client/src/views/Game.vue
+++ b/
client/src/views/Game.vue
@@
-89,7
+89,7
@@
main
)
img(src="/images/icons/resign.svg")
button.tooltip(
)
img(src="/images/icons/resign.svg")
button.tooltip(
- v-else
-if="!!game.mycolor"
+ v-else
@click="clickRematch()"
:class="{['rematch-' + rematchOffer]: true}"
:aria-label="st.tr['Rematch']"
@click="clickRematch()"
:class="{['rematch-' + rematchOffer]: true}"
:aria-label="st.tr['Rematch']"
@@
-221,7
+221,7
@@
export default {
.addEventListener("click", processModalClick);
if ("ontouchstart" in window) {
// Disable tooltips on smartphones:
.addEventListener("click", processModalClick);
if ("ontouchstart" in window) {
// Disable tooltips on smartphones:
- document.
getElementsByClassName("
tooltip").forEach(elt => {
+ document.
querySelectorAll("#aboveBoard .
tooltip").forEach(elt => {
elt.classList.remove("tooltip");
});
}
elt.classList.remove("tooltip");
});
}
@@
-757,7
+757,7
@@
export default {
drawSent: this.drawOffer == "sent",
rematchSent: this.rematchOffer == "sent",
score: this.game.score,
drawSent: this.drawOffer == "sent",
rematchSent: this.rematchOffer == "sent",
score: this.game.score,
- score: this.game.scoreMsg,
+ score
Msg
: this.game.scoreMsg,
movesCount: L,
initime: this.game.initime[1 - myIdx] //relevant only if I played
};
movesCount: L,
initime: this.game.initime[1 - myIdx] //relevant only if I played
};