Skip to content

Commit

Permalink
delay 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
MuiseDestiny committed Apr 19, 2023
1 parent 742177e commit 63ba83b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zotero-style",
"version": "2.6.2",
"version": "2.6.3",
"description": "A Zotero plugin for creating a personal Zotero Style.",
"config": {
"addonName": "Zotero Style",
Expand Down
1 change: 1 addition & 0 deletions src/modules/views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export default class Views {
* 标题是必定显示的所以奇数偶数显示逻辑写在这里
*/
public async renderTitleColumn() {
await Zotero.Promise.delay(1000)
ztoolkit.log("renderTitleColumn")
if (!Zotero.Prefs.get(`${config.addonRef}.function.titleColumn.enable`) as boolean) { return }
const key = "title"
Expand Down
4 changes: 2 additions & 2 deletions update.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"[email protected]": {
"updates": [
{
"version": "2.6.2",
"version": "2.6.3",
"update_link": "https://github.com/muisedestiny/zotero-style/releases/latest/download/zotero-style.xpi",
"applications": {
"gecko": {
Expand All @@ -12,7 +12,7 @@
}
},
{
"version": "2.6.2",
"version": "2.6.3",
"update_link": "https://github.com/muisedestiny/zotero-style/releases/latest/download/zotero-style.xpi",
"applications": {
"zotero": {
Expand Down
2 changes: 1 addition & 1 deletion update.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<rdf:Seq>
<rdf:li>
<rdf:Description>
<em:version>2.6.2</em:version>
<em:version>2.6.3</em:version>
<em:targetApplication>
<rdf:Description>
<em:id>[email protected]</em:id>
Expand Down

0 comments on commit 63ba83b

Please sign in to comment.