mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
ui: prevent tokenizer reinit if not visible
Solves the reported issue but may not be the final fix. May be a tokenizer library issue... PR: https://github.com/opnsense/plugins/issues/769
This commit is contained in:
parent
ea9a77afd3
commit
1a915fe80c
@ -238,7 +238,7 @@ function formatTokenizersUI() {
|
||||
});
|
||||
|
||||
sender.addClass('tokenize2_init_done');
|
||||
} else {
|
||||
} else if (sender.is(":visible")) {
|
||||
// unbind change event while loading initial content
|
||||
sender.unbind('tokenize:tokens:change');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user