Commit 1128512f authored by Cédric Bellegarde's avatar Cédric Bellegarde

Revert "Fix strange code"

This reverts commit 8f61a338.
parent cabbcfb9
...@@ -576,7 +576,9 @@ class WebView(WebKit2.WebView): ...@@ -576,7 +576,9 @@ class WebView(WebKit2.WebView):
parsed.netloc): parsed.netloc):
webview.destroy() webview.destroy()
return return
if event == WebKit2.LoadEvent.FINISHED: if event != WebKit2.LoadEvent.FINISHED:
return
else:
webview.disconnect_by_func(on_load_changed) webview.disconnect_by_func(on_load_changed)
# Then popup blocking # Then popup blocking
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment