Soft'N'Design Software
/
projects
/
trivabble.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae79bb8
)
fix central star
author
Laurent Mazet
<mazet@softndesign.org>
Fri, 15 Jan 2021 17:39:29 +0000
(18:39 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Fri, 15 Jan 2021 17:39:29 +0000
(18:39 +0100)
public/trivabble.js
patch
|
blob
|
blame
|
history
diff --git
a/public/trivabble.js
b/public/trivabble.js
index 073357864dfe71fdd7460246a1cb1ce3f1e59113..69bf1977f4c2ca03bcbf41f1c0c5b242f533d4d6 100644
(file)
--- a/
public/trivabble.js
+++ b/
public/trivabble.js
@@
-2322,7
+2322,9
@@
if (mode !== "short") {
for (const cell of [].slice.call(document.getElementsByClassName("special-cell-label"))) {
- cell.textContent = cell.longText;
+ if (cell.textContent !== "★") {
+ cell.textContent = cell.longText;
+ }
}
}
@@
-2333,7
+2335,9
@@
if (mode === "short") {
for (const cell of [].slice.call(document.getElementsByClassName("special-cell-label"))) {
- cell.textContent = cell.shortText;
+ if (cell.textContent !== "★") {
+ cell.textContent = cell.shortText;
+ }
}
}
}