aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/display.js')
-rw-r--r--ext/js/display/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display.js b/ext/js/display/display.js
index ba7ebd91..caa1ce10 100644
--- a/ext/js/display/display.js
+++ b/ext/js/display/display.js
@@ -552,7 +552,7 @@ class Display extends EventDispatcher {
// Prepare
const urlSearchParams = new URLSearchParams(location.search);
let type = urlSearchParams.get('type');
- if (type === null) { type = 'terms'; }
+ if (type === null && urlSearchParams.get('query') !== null) { type = 'terms'; }
const fullVisible = urlSearchParams.get('full-visible');
this._queryParserVisibleOverride = (fullVisible === null ? null : (fullVisible !== 'false'));