mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Code refactoring
This commit is contained in:
parent
36329110e5
commit
b4f416b6f8
105 changed files with 4331 additions and 4339 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
var
|
||||
ko = require('ko'),
|
||||
$window = require('$window'),
|
||||
$win = require('$win'),
|
||||
|
||||
Enums = require('Enums'),
|
||||
Globals = require('Globals'),
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
{
|
||||
var self = this;
|
||||
|
||||
$window.on('keydown', function (oEvent) {
|
||||
$win.on('keydown', function (oEvent) {
|
||||
if (oEvent && self.modalVisibility && self.modalVisibility())
|
||||
{
|
||||
if (!this.bDisabeCloseOnEsc && Enums.EventKeyCode.Esc === oEvent.keyCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue