Skip to content

Commit 96d929e

Browse files
Reset beforeload variable if a new instance of InAppBrowser is opened without beforeload setting
1 parent 0e8da63 commit 96d929e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/android/InAppBrowser.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,8 @@ public String showWebPage(final String url, HashMap<String, String> features) {
712712
}
713713
if (features.get(BEFORELOAD) != null) {
714714
beforeload = features.get(BEFORELOAD);
715+
} else {
716+
beforeload = "";
715717
}
716718
String fullscreenSet = features.get(FULLSCREEN);
717719
if (fullscreenSet != null) {

0 commit comments

Comments
 (0)