aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static/scripts.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-08-29 17:34:03 +0300
committerGravatar Vitaly Takmazov2017-08-29 17:34:03 +0300
commitfe5ecea37a5974bd78712168b57e2c0b1d530f97 (patch)
tree92ef95a270d3d532099fd05590628f8440249ffd /juick-www/src/main/static/scripts.js
parentba72c5a583af55ebb782201ece7664e6acf78935 (diff)
www: post form on all pages
Diffstat (limited to 'juick-www/src/main/static/scripts.js')
-rw-r--r--juick-www/src/main/static/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 984f0e5c..55bcf41a 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -270,7 +270,7 @@ function postformListener(formEl, ev) {
}
function unfoldPostForm() {
- if (window.location.pathname === '/' && window.location.hash === '#post') {
+ if (window.location.hash === '#post') {
document.querySelector('#newmessage').style.display = 'block';
var ta = document.querySelector('#newmessage textarea');
ta.style.minHeight = '70px';