Skip to content

Commit 257b764

Browse files
committed
[HGNN-1001] 리뷰 반영 - backbutton 실행전 체크
1 parent 09b361c commit 257b764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/InAppBrowser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ public boolean isTriggerBack() {
604604
* Hogangnono - Execute javaScript for triggering back button
605605
*/
606606
public void triggerBackButton() {
607-
this.inAppWebView.loadUrl("javascript:backbutton()");
607+
this.inAppWebView.loadUrl("javascript:window.backbutton && window.backbutton()");
608608
}
609609

610610
/**

0 commit comments

Comments
 (0)