diff options
author | hackademix | 2019-02-01 01:17:58 +0100 |
---|---|---|
committer | hackademix | 2019-02-01 01:17:58 +0100 |
commit | 0878ad2b0a0d3af5db66cc6a4f7d882e17a13365 (patch) | |
tree | 877ee5d84d5cb33e6e4091c2418afdb11731ceee /src/ui | |
parent | d152a5387197e37bbb9838392f454f041e2478ea (diff) | |
download | noscript-0878ad2b0a0d3af5db66cc6a4f7d882e17a13365.tar.gz noscript-0878ad2b0a0d3af5db66cc6a4f7d882e17a13365.tar.xz noscript-0878ad2b0a0d3af5db66cc6a4f7d882e17a13365.zip |
Remove usage of non-standard Array methods.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/toolbar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/toolbar.js b/src/ui/toolbar.js index d2a2f6e..df3515e 100644 --- a/src/ui/toolbar.js +++ b/src/ui/toolbar.js @@ -87,7 +87,7 @@ } UI.local.toolbarLayout = { left, right, - hidden: Array.map(document.querySelectorAll("#top > .hider > .icon"), el => el.id), + hidden: Array.from(document.querySelectorAll("#top > .hider > .icon")).map(el => el.id), }; debug("%o", UI.local); |