mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:55:55 +00:00
plugins: note,shared - move to iconfont
This commit is contained in:
@@ -32,7 +32,7 @@ Plugins.Share = {
|
||||
new Effect.Highlight(e);
|
||||
|
||||
const img = $("SHARE-IMG-" + id);
|
||||
if (img) img.src = img.src.replace("notshared.png", "share.png");
|
||||
img.addClassName("shared");
|
||||
|
||||
Notify.close();
|
||||
|
||||
@@ -54,8 +54,8 @@ Plugins.Share = {
|
||||
xhrPost("backend.php", query, () => {
|
||||
notify("Article unshared.");
|
||||
|
||||
var img = $("SHARE-IMG-" + id);
|
||||
if (img) img.src = img.src.replace("share.png", "notshared.png");
|
||||
const img = $("SHARE-IMG-" + id);
|
||||
img.removeClassName("shared");
|
||||
|
||||
dialog.hide();
|
||||
});
|
||||
@@ -68,7 +68,7 @@ Plugins.Share = {
|
||||
dialog.show();
|
||||
|
||||
const img = $("SHARE-IMG-" + id);
|
||||
if (img) img.src = img.src.replace("notshared.png", "share.png");
|
||||
img.addClassName("shared");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user