Skip to content

Commit 666bf38

Browse files
DEV: Convert script[type=text/discourse-plugin] to initializer (#21)
1 parent 04ce01e commit 666bf38

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

common/header.html

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { apiInitializer } from "discourse/lib/api";
2+
3+
export default apiInitializer((api) => {
4+
api.replaceIcon("link", "avidreader-icon-link");
5+
api.replaceIcon("thumbtack", "avidreader-icon-thumbtack");
6+
api.replaceIcon("reply", "avidreader-icon-reply");
7+
});

0 commit comments

Comments
 (0)