add read access to settings for jsavascript

add an option to disable lightbox modal
This commit is contained in:
AUTOMATIC
2022-09-18 22:25:18 +03:00
parent 21086e60a9
commit f3d83fd68a
5 changed files with 62 additions and 5 deletions

View File

@@ -9,7 +9,11 @@ function onUiUpdate(callback){
function uiUpdate(root){
uiUpdateCallbacks.forEach(function(x){
x()
try {
x()
} catch (e) {
(console.error || console.log).call(console, e.message, e);
}
})
}