aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-28 01:36:37 +0300
committerGravatar Vitaly Takmazov2016-07-28 01:36:37 +0300
commit99230387f797eeda2678649290ec271a0266a630 (patch)
treeda4808e68cb798157b56e73eb73e382ea4952a14 /juick-www
parentca59e1808d2015afe71198fce4db6676eede7c1f (diff)
www: make eslint happy
Diffstat (limited to 'juick-www')
-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 a7052cfa..3ea35ed4 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -14,7 +14,7 @@ function initWS() {
var pageMID = content.getAttribute('data-mid');
if (!pageMID) { return }
- var url = (window.location.protocol === 'https:' ? 'wss' : 'ws') + ":"
+ var url = (window.location.protocol === 'https:' ? 'wss' : 'ws') + ':'
+ (typeof juickDebug !== 'undefined' ?
'//ws.juick.com/_replies' : ('//ws.juick.com/' + pageMID)),
hash = document.getElementById('body').getAttribute('data-hash');