mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Move almost all libs to node_modules
Update libs
This commit is contained in:
parent
b895c6ac1a
commit
c3985da102
374 changed files with 17466 additions and 83393 deletions
18
dev/External/ko.js
vendored
18
dev/External/ko.js
vendored
|
|
@ -449,14 +449,16 @@ ko.bindingHandlers.modal = {
|
|||
Globals = require('Common/Globals'),
|
||||
Utils = require('Common/Utils');
|
||||
|
||||
$(oElement).toggleClass('fade', !Globals.bMobileDevice).modal({
|
||||
'keyboard': false,
|
||||
'show': ko.unwrap(fValueAccessor())
|
||||
})
|
||||
.on('shown.koModal', Utils.windowResizeCallback)
|
||||
.find('.close').on('click.koModal', function() {
|
||||
fValueAccessor()(false);
|
||||
});
|
||||
$(oElement)
|
||||
.toggleClass('fade', !Globals.bMobileDevice)
|
||||
.modal({
|
||||
'keyboard': false,
|
||||
'show': ko.unwrap(fValueAccessor())
|
||||
})
|
||||
.on('shown.koModal', Utils.windowResizeCallback)
|
||||
.find('.close').on('click.koModal', function() {
|
||||
fValueAccessor()(false);
|
||||
});
|
||||
|
||||
ko.utils.domNodeDisposal.addDisposeCallback(oElement, function() {
|
||||
$(oElement)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue