mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 20:05:55 +08:00
Merge pull request #7319 from rekonder/aj_SCI_10076
Fix function call for wrapping tables [SCI-10076][SCI-10463]
This commit is contained in:
commit
333a05bfd1
1 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ function initAccessModal() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function wrapTables() {
|
function initWrapTables() {
|
||||||
const viewMode = new URLSearchParams(window.location.search).get('view_mode');
|
const viewMode = new URLSearchParams(window.location.search).get('view_mode');
|
||||||
if (['archived', 'locked', 'active'].includes(viewMode)) {
|
if (['archived', 'locked', 'active'].includes(viewMode)) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
@ -348,7 +348,7 @@ function init() {
|
||||||
initProtocolSectionOpenEvent();
|
initProtocolSectionOpenEvent();
|
||||||
initDetailsDropdown();
|
initDetailsDropdown();
|
||||||
initAccessModal();
|
initAccessModal();
|
||||||
wrapTables();
|
initWrapTables();
|
||||||
}
|
}
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|
Loading…
Add table
Reference in a new issue