summaryrefslogtreecommitdiff
path: root/js/App.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 15:09:53 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 15:09:53 +0300
commitd9fe14a0123eb90008a1be4b6ab9bb21b42f3776 (patch)
treed88bdeaad474417a646fc2e3c38e423468f13a83 /js/App.js
parent131f34648d8b8fa8388f619c144480e06f5f9921 (diff)
use template strings in a bunch of places instead of id concatenation
Diffstat (limited to 'js/App.js')
-rw-r--r--js/App.js2
1 files changed, 1 insertions, 1 deletions
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");