From d9fe14a0123eb90008a1be4b6ab9bb21b42f3776 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 15:09:53 +0300 Subject: use template strings in a bunch of places instead of id concatenation --- js/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/App.js') diff --git a/js/App.js b/js/App.js index 544057101..764003ca9 100644 --- a/js/App.js +++ b/js/App.js @@ -1091,7 +1091,7 @@ const App = { this.hotkey_actions["select_article_cursor"] = () => { const id = Article.getUnderPointer(); if (id) { - const row = App.byId("RROW-" + id); + const row = App.byId(`RROW-${id}`); if (row) row.toggleClassName("Selected"); -- cgit v1.2.3-54-g00ecf