putting in current borders

This commit is contained in:
Jesko 2018-08-15 23:06:45 +02:00 committed by Jimmy
parent 8aa682e769
commit 0c38cbcbdd

View File

@ -948,7 +948,7 @@ class _WebEngineScripts(QObject):
new_script = QWebEngineScript()
try:
world = int(script.jsworld)
if not 0 <= world < 256:
if not 0 <= world <= 11:
log.greasemonkey.error(
"script {} has invalid value for '@qute-js-world'"
": {}".format(script.name, script.jsworld))