chore: lint
This commit is contained in:
parent
7446883595
commit
d599443d77
|
|
@ -4,4 +4,5 @@ node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
yarn.lock
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
|
addon/chrome/content/lib/**
|
||||||
# zotero-cmd.json
|
# zotero-cmd.json
|
||||||
|
|
|
||||||
|
|
@ -275,9 +275,8 @@ function setScale(scaling: number) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setTitle() {
|
function setTitle() {
|
||||||
addon.data.imageViewer.window!.document.querySelector(
|
addon.data.imageViewer.window!.document.querySelector("title")!.innerText! =
|
||||||
"title",
|
`${addon.data.imageViewer.idx + 1}/${
|
||||||
)!.innerText! = `${addon.data.imageViewer.idx + 1}/${
|
|
||||||
addon.data.imageViewer.srcList.length
|
addon.data.imageViewer.srcList.length
|
||||||
}:${addon.data.imageViewer.title}`;
|
}:${addon.data.imageViewer.title}`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue