summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qutebrowser/utils/utils.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/qutebrowser/utils/utils.py b/qutebrowser/utils/utils.py
index a52c5fada..5c9b89cbe 100644
--- a/qutebrowser/utils/utils.py
+++ b/qutebrowser/utils/utils.py
@@ -237,7 +237,11 @@ def _glob_resources(
def preload_resources() -> None:
"""Load resource files into the cache."""
resource_path = _resource_path('')
- for subdir, ext in [('html', '.html'), ('javascript', '.js')]:
+ for subdir, ext in [
+ ('html', '.html'),
+ ('javascript', '.js'),
+ ('javascript/quirks', '.js'),
+ ]:
for name in _glob_resources(resource_path, subdir, ext):
_resource_cache[name] = read_file(name)