Skip to content

Commit cc5551c

Browse files
committed
Merge branch 'faster_start_times' into more_modern_ui
2 parents 53d6c9f + 4e8637d commit cc5551c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/net/gsantner/markor/frontend/MarkorDialogFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ public static void showHeadlineDialog(
818818

819819
TextViewUtils.selectLines(edit, line);
820820
final String jumpJs = "document.querySelector('[line=\"" + line + "\"]').scrollIntoView();";
821-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
821+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && webView != null) {
822822
webView.evaluateJavascript(jumpJs, null);
823823
}
824824
};

0 commit comments

Comments
 (0)