summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 06:58:50 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 06:58:50 +0300
commit00310d2d23dd459c17b3f6e86a127de348b330f8 (patch)
treeac51a588829724bc66c982f44eb23e8c6ac7f8ef /js/common.js
parentdcfea9baacc41984f683342e6a3e4949243b7324 (diff)
cleanup some unused code, fix App.byId() invoked by wrong name
Diffstat (limited to 'js/common.js')
-rwxr-xr-xjs/common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/common.js b/js/common.js
index 1adf5d56e..6dd5713df 100755
--- a/js/common.js
+++ b/js/common.js
@@ -4,7 +4,7 @@
/* eslint-disable no-new */
function $(id) {
- console.warn("FIXME: please use App.getById() or document.getElementById() instead of $():", id);
+ console.warn("FIXME: please use App.byId() or document.getElementById() instead of $():", id);
return document.getElementById(id);
}