We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53d6c9f + 4e8637d commit cc5551cCopy full SHA for cc5551c
app/src/main/java/net/gsantner/markor/frontend/MarkorDialogFactory.java
@@ -818,7 +818,7 @@ public static void showHeadlineDialog(
818
819
TextViewUtils.selectLines(edit, line);
820
final String jumpJs = "document.querySelector('[line=\"" + line + "\"]').scrollIntoView();";
821
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && webView != null) {
822
webView.evaluateJavascript(jumpJs, null);
823
}
824
};
0 commit comments