Skip to content

Commit a15b5c8

Browse files
committed
Reset js bindings only once, after the call to Navigate().
1 parent 5fb0eae commit a15b5c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • cefpython/cef3/linux/binaries_64bit

cefpython/cef3/linux/binaries_64bit/kivy_.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ def OnLoadingStateChange(self, browser, isLoading, canGoBack,
593593
if self._reset_js_bindings and not isLoading:
594594
if browserWidget:
595595
browserWidget.set_js_bindings()
596+
self._reset_js_bindings = False
596597
if isLoading and browserWidget \
597598
and browserWidget.keyboard_mode == "local":
598599
# Release keyboard when navigating to a new page.

0 commit comments

Comments
 (0)