summaryrefslogtreecommitdiff
path: root/web/share/js/tools.js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-04-12 15:26:32 +0300
committerGitHub <[email protected]>2021-04-12 15:26:32 +0300
commit3af4a8b852019993ee31becd5651734377da6ec9 (patch)
tree499b77bfaa0c6f939175ea167d5ccb3956be95f0 /web/share/js/tools.js
parent8158941833bd8a50278b61967e00d23522e633d7 (diff)
Rework of #39 (#40)
* Rework of #39 patch from @arykov (thanks) * styled resize corner * fixed squashing of resizaable window on moving * keep window size and opsition after full screen * not necessary * attempt to fix desktop overflow * improved * ios fixes * refactoring
Diffstat (limited to 'web/share/js/tools.js')
-rw-r--r--web/share/js/tools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/tools.js b/web/share/js/tools.js
index d6965803..521cb1a0 100644
--- a/web/share/js/tools.js
+++ b/web/share/js/tools.js
@@ -243,5 +243,5 @@ export var tools = new function() {
};
export var $ = (id) => document.getElementById(id);
-export var $$ = (cls) => document.getElementsByClassName(cls);
+export var $$ = (cls) => [].slice.call(document.getElementsByClassName(cls));
export var $$$ = (selector) => document.querySelectorAll(selector);