From 80f305e6f5d22abc38807fd6fad37b5cb450c249 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 28 Sep 2018 22:16:26 +0300 Subject: make eslint happy --- juick-server/src/main/assets/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-server/src/main') diff --git a/juick-server/src/main/assets/scripts.js b/juick-server/src/main/assets/scripts.js index f2b7600e..21e3fdee 100644 --- a/juick-server/src/main/assets/scripts.js +++ b/juick-server/src/main/assets/scripts.js @@ -127,7 +127,7 @@ var ws, function initWS() { let url = new URL('/ws/', window.location.href); - url.protocol = url.protocol.replace('http', 'ws') + url.protocol = url.protocol.replace('http', 'ws'); let hash = document.getElementById('body').getAttribute('data-hash'); if (hash) { url += '?hash=' + hash; @@ -361,7 +361,7 @@ function showCommentForm(mid, rid) { } }).catch(error => { alert(error.message); - }) + }); }); } reply.querySelector('.msg-comment textarea').focus(); -- cgit v1.2.3