Browse Source

:rotating_light:

Vanessa 2 years ago
parent
commit
1e108d2932
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/mobile/util/keyboardToolbar.ts

+ 1 - 1
app/src/mobile/util/keyboardToolbar.ts

@@ -150,7 +150,7 @@ const showKeyboardToolbarUtil = (oldScrollTop: number) => {
     showUtil = true;
     showUtil = true;
 
 
     const toolbarElement = document.getElementById("keyboardToolbar");
     const toolbarElement = document.getElementById("keyboardToolbar");
-    let keyboardHeight = toolbarElement.getAttribute("data-keyboardheight")
+    let keyboardHeight = toolbarElement.getAttribute("data-keyboardheight");
     keyboardHeight = (keyboardHeight ? (parseInt(keyboardHeight) + 42) : window.innerHeight / 2) + "px";
     keyboardHeight = (keyboardHeight ? (parseInt(keyboardHeight) + 42) : window.innerHeight / 2) + "px";
     window.siyuan.mobile.editor.protyle.element.style.marginBottom = keyboardHeight;
     window.siyuan.mobile.editor.protyle.element.style.marginBottom = keyboardHeight;
     window.siyuan.mobile.editor.protyle.contentElement.scrollTop = oldScrollTop;
     window.siyuan.mobile.editor.protyle.contentElement.scrollTop = oldScrollTop;