From 2aca966d1303ea3c55809bb70aba6906dcb8900c Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Mon, 6 Apr 2020 14:35:57 +0200 Subject: [PATCH] Fix wrong expert mode check --- app/static/js/nopaque.callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/nopaque.callbacks.js b/app/static/js/nopaque.callbacks.js index acb0a674..43999647 100644 --- a/app/static/js/nopaque.callbacks.js +++ b/app/static/js/nopaque.callbacks.js @@ -57,7 +57,7 @@ function queryRenderResults(payload) { activateInspect(); } // inital expert mode check and activation - if (expertModeSwitchElement) { + if (expertModeSwitchElement.checked) { let initialTokenElements = document.getElementsByClassName("token"); expertModeOn(initialTokenElements, resultsJSON); }