projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add unambiguous section in the PGN + some fixes + code formatting and fix typos
[vchess.git]
/
client
/
src
/
views
/
News.vue
diff --git
a/client/src/views/News.vue
b/client/src/views/News.vue
index
dd3c84e
..
97f0eb8
100644
(file)
--- a/
client/src/views/News.vue
+++ b/
client/src/views/News.vue
@@
-101,7
+101,7
@@
export default {
},
adjustHeight: function() {
const newsContent = document.getElementById("newsContent");
},
adjustHeight: function() {
const newsContent = document.getElementById("newsContent");
- // https://stackoverflow.com/
questions/995168/textarea-to-resize-based-on-content-length
+ // https://stackoverflow.com/
a/995374
newsContent.style.height = "1px";
newsContent.style.height = 10 + newsContent.scrollHeight + "px";
},
newsContent.style.height = "1px";
newsContent.style.height = 10 + newsContent.scrollHeight + "px";
},