From e7be379560e6ff2e8025674cdb405f60bdb5e387 Mon Sep 17 00:00:00 2001
From: xiangyu <3170102889@zju.edu.cn>
Date: Sat, 30 Apr 2022 19:22:49 +0800
Subject: [PATCH] fix: icon style
---
src/views.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views.ts b/src/views.ts
index c9056db..f74a2c2 100644
--- a/src/views.ts
+++ b/src/views.ts
@@ -15,7 +15,7 @@ class AddonViews extends AddonBase {
addToKnowledge: ``,
setMainKnowledge: ``,
isMainKnowledge: ``,
- openWorkspace: ``,
+ openWorkspaceCollectionView: ``,
};
}
@@ -75,10 +75,10 @@ class AddonViews extends AddonBase {
const span1 = document.createElement("span");
span1.setAttribute("class", "cell label primary");
const span2 = document.createElement("span");
- span2.setAttribute("class", "icon icon-twisty twisty");
- span2.innerHTML = this.editorIcon["openWorkspace"];
+ span2.setAttribute("class", "icon icon-twisty twisty open");
+ span2.innerHTML = this.editorIcon["openWorkspaceCollectionView"];
const span3 = document.createElement("span");
- span3.setAttribute("class", "icon icon-bg cell-icon open");
+ span3.setAttribute("class", "icon icon-bg cell-icon");
span3.setAttribute(
"style",
"background-image:url(chrome://Knowledge4Zotero/skin/favicon.png)"