diff options
author | Andrew Dolgov <[email protected]> | 2021-02-19 15:09:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-19 15:09:53 +0300 |
commit | d9fe14a0123eb90008a1be4b6ab9bb21b42f3776 (patch) | |
tree | d88bdeaad474417a646fc2e3c38e423468f13a83 /js/App.js | |
parent | 131f34648d8b8fa8388f619c144480e06f5f9921 (diff) |
use template strings in a bunch of places instead of id concatenation
Diffstat (limited to 'js/App.js')
-rw-r--r-- | js/App.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |