diff options
author | Vitaly Takmazov | 2018-11-07 14:50:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-07 14:50:36 +0300 |
commit | 8caf48ad04e44cdb3d0e3e534d71b97127c0f955 (patch) | |
tree | f771742e0bc5fed7d7d4e88098f84966b814d71a /juick-server/src/main | |
parent | 185330d049addf179006709a86bc0a0b5c7803b1 (diff) |
www: fix lint warnings
Diffstat (limited to 'juick-server/src/main')
-rw-r--r-- | juick-server/src/main/assets/scripts.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/juick-server/src/main/assets/scripts.js b/juick-server/src/main/assets/scripts.js index 9a5045d6..9ee0639e 100644 --- a/juick-server/src/main/assets/scripts.js +++ b/juick-server/src/main/assets/scripts.js @@ -125,7 +125,9 @@ function i18n(key, lang = undefined) { var es, pageTitle; function initES() { - if (!("EventSource" in window)) return; + if (!('EventSource' in window)) { + return; + } let url = '/api/events'; let hash = document.getElementById('body').getAttribute('data-hash'); if (hash) { |