mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Remove Common/Enums Magics.*
This commit is contained in:
parent
382aef7ebb
commit
6541a1de7c
38 changed files with 135 additions and 219 deletions
6
dev/External/ko.js
vendored
6
dev/External/ko.js
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import { SaveSettingsStep, Magics } from 'Common/Enums';
|
||||
import { SaveSettingsStep } from 'Common/Enums';
|
||||
|
||||
const
|
||||
$ = jQuery,
|
||||
|
|
@ -152,7 +152,7 @@ ko.bindingHandlers.tooltipErrorTip = {
|
|||
value = !ko.isObservable(fValue) && isFunction(fValue) ? fValue() : ko.unwrap(fValue);
|
||||
|
||||
if (value) {
|
||||
setTimeout(() => element.setAttribute('data-rainloopErrorTip', value), Magics.Time100ms);
|
||||
setTimeout(() => element.setAttribute('data-rainloopErrorTip', value), 100);
|
||||
} else {
|
||||
element.removeAttribute('data-rainloopErrorTip');
|
||||
}
|
||||
|
|
@ -329,7 +329,7 @@ ko.bindingHandlers.modal = {
|
|||
Globals.$htmlCL.add('rl-modal-animation');
|
||||
setTimeout(() => {
|
||||
Globals.$htmlCL.remove('rl-modal-animation');
|
||||
}, Magics.Time500ms);
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue