mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Release commit
This commit is contained in:
parent
86f855fa5b
commit
b01f298b7b
13 changed files with 121 additions and 42 deletions
14
dev/External/ko.js
vendored
14
dev/External/ko.js
vendored
|
|
@ -287,7 +287,19 @@
|
|||
});
|
||||
},
|
||||
'update': function (oElement, fValueAccessor) {
|
||||
$(oElement).modal(ko.unwrap(fValueAccessor()) ? 'show' : 'hide');
|
||||
|
||||
var Globals = require('Common/Globals');
|
||||
|
||||
$(oElement).modal(!!ko.unwrap(fValueAccessor()) ? 'show' : 'hide');
|
||||
|
||||
if (Globals.$html.hasClass('rl-anim'))
|
||||
{
|
||||
Globals.$html.addClass('rl-modal-animation');
|
||||
_.delay(function () {
|
||||
Globals.$html.removeClass('rl-modal-animation');
|
||||
}, 400);
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue