From 9f57e8161a80fef0a69a583245c16aafda586dea Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 5 Apr 2024 10:16:23 +0200 Subject: [PATCH] Fix table freezing [SCI-10596] --- app/assets/javascripts/my_modules/protocols.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/my_modules/protocols.js b/app/assets/javascripts/my_modules/protocols.js index ca1f6440c..7d74d1e41 100644 --- a/app/assets/javascripts/my_modules/protocols.js +++ b/app/assets/javascripts/my_modules/protocols.js @@ -329,7 +329,7 @@ function initAccessModal() { function initWrapTables() { const viewMode = new URLSearchParams(window.location.search).get('view_mode'); - if (['archived', 'locked', 'active'].includes(viewMode)) { + if (['archived', 'locked'].includes(viewMode)) { setTimeout(() => { const notesContainerEl = document.getElementById('notes-container'); window.wrapTables(notesContainerEl);