Skip to content

Commit

Permalink
disable qwebwinjet javascript fix
Browse files Browse the repository at this point in the history
js: Uncaught SyntaxError: Unexpected token '('
js: Uncaught SyntaxError: Unexpected token '('
js: Uncaught SyntaxError: Unexpected token '('
js: Uncaught SyntaxError: Unexpected token '('
js: Uncaught SyntaxError: Unexpected token '='
js: Uncaught SyntaxError: Unexpected token '('
js: Uncaught SyntaxError: Unexpected token '='
  • Loading branch information
Furtif committed Dec 15, 2024
1 parent f7ab84c commit 32c3684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def __init__(self, parent=None):
self.paramview = None
self.docview = webkitwidgets.QWebEngineView()
self.docview.load(core.QUrl("https://github.com/cedricp/ddt4all/wiki"))
self.docview.settings().setAttribute(webkitwidgets.QWebEngineSettings.JavascriptEnabled, True)
self.docview.settings().setAttribute(webkitwidgets.QWebEngineSettings.JavascriptEnabled, False)
self.docview.settings().setAttribute(webkitwidgets.QWebEngineSettings.PluginsEnabled, True)
self.docview.settings().setAttribute(webkitwidgets.QWebEngineSettings.AutoLoadImages, True)

Expand Down

0 comments on commit 32c3684

Please sign in to comment.