Skip to content

Commit

Permalink
♻️ #12567
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Sep 24, 2024
1 parent d943e74 commit 2aacf8e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/history/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,6 @@ const bindEvent = (app: App, element: Element, dialog?: Dialog) => {
if (totalPage > 1) {
confirmDialog(
window.siyuan.languages.jumpToPage.replace("${x}", totalPage),
// eslint-disable-next-line quotes
`<input style="width: 100%;" class="b3-text-field fn__flex-center" type="number" min="1" max="${totalPage}" value="${currentPage}">`,
(dialog: Dialog) => {
const inputElement = dialog.element.querySelector(".b3-text-field") as HTMLInputElement;
Expand All @@ -836,7 +835,6 @@ const bindEvent = (app: App, element: Element, dialog?: Dialog) => {
if (totalPage > 1) {
confirmDialog(
window.siyuan.languages.jumpToPage.replace("${x}", totalPage),
// eslint-disable-next-line quotes
`<input style="width: 100%;" class="b3-text-field fn__flex-center" type="number" min="1" max="${totalPage}" value="${currentPage}">`,
(dialog: Dialog) => {
const inputElement = dialog.element.querySelector(".b3-text-field") as HTMLInputElement;
Expand Down

0 comments on commit 2aacf8e

Please sign in to comment.