From 00310d2d23dd459c17b3f6e86a127de348b330f8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 06:58:50 +0300 Subject: cleanup some unused code, fix App.byId() invoked by wrong name --- js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/common.js') 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); } -- cgit v1.2.3-54-g00ecf