1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:45:56 +00:00

use template strings in a bunch of places instead of id concatenation

This commit is contained in:
Andrew Dolgov
2021-02-19 15:09:53 +03:00
parent 131f34648d
commit d9fe14a012
4 changed files with 19 additions and 21 deletions

View File

@@ -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");