mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 08:55:16 +08:00
fix: added timer clearing
This commit is contained in:
@ -27,6 +27,11 @@ const LongActionsController = inject('storeAppOptions')(({storeAppOptions}) => {
|
||||
};
|
||||
|
||||
const showLoadMask = (title, immediately = false) => {
|
||||
if (showTimer) {
|
||||
clearTimeout(showTimer);
|
||||
showTimer = null;
|
||||
}
|
||||
|
||||
if (immediately) {
|
||||
loadMask = f7.dialog.preloader(title);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user