diff options
author | Andrew Dolgov <[email protected]> | 2018-11-29 15:04:27 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-11-29 15:04:27 +0300 |
commit | b026d16edeaebd6dbeba66198644ee4a2ce02dae (patch) | |
tree | d7cb860f3e1166b3310c8722a24f926f98c6d834 /js/dict.js | |
parent | e906fd5d3ac3085e54a5f82abdd83430f741239c (diff) |
some eslint-related fixes
Diffstat (limited to 'js/dict.js')
-rw-r--r-- | js/dict.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ $(document).ready(function() { $(window).on("mouseup touchend", function() { if (!navigator.onLine) return; - var sel = getSelection().toString().trim(); + const sel = getSelection().toString().trim(); if (sel.match(/^\w+$/)) { parent.dict_lookup(sel, function() { |