1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:25:57 +00:00

toggleMark, togglePub: refactor implementation

shorten marked/published img CSS classes
This commit is contained in:
Andrew Dolgov
2018-12-01 08:20:09 +03:00
parent 3325979bf0
commit a2ef54cd92
7 changed files with 53 additions and 82 deletions

View File

@@ -26,7 +26,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
if (this.model.store.getValue(args.item, 'id') != 'root') {
const img = dojo.doc.createElement('img');
img.src ='images/filter.png';
img.className = 'markedPic';
img.className = 'marked-pic';
tnode._filterIconNode = img;
domConstruct.place(tnode._filterIconNode, tnode.labelNode, 'before');
}