mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Fix eslint version
This commit is contained in:
parent
8e8a041032
commit
8a6765faeb
15 changed files with 342 additions and 398 deletions
|
|
@ -131,6 +131,7 @@ AbstractSystemDropDownUserView.prototype.onBuild = function()
|
|||
require('Knoin/Knoin').showScreenPopup(require('View/Popup/KeyboardShortcutsHelp'));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -430,6 +430,8 @@ MessageListMailBoxUserView.prototype.goToUpUpOrDownDown = function(bUp)
|
|||
}
|
||||
|
||||
}, 350);
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
MessageListMailBoxUserView.prototype.useAutoSelect = function()
|
||||
|
|
@ -788,6 +790,8 @@ MessageListMailBoxUserView.prototype.initShortcuts = function()
|
|||
Events.pub('mailbox.message-view.toggle-full-screen');
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
if (Settings.capa(Enums.Capa.MessageListActions))
|
||||
|
|
@ -816,6 +820,8 @@ MessageListMailBoxUserView.prototype.initShortcuts = function()
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -921,6 +927,8 @@ MessageListMailBoxUserView.prototype.initShortcuts = function()
|
|||
self.cancelThreadUid();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
// change focused state
|
||||
|
|
|
|||
|
|
@ -820,12 +820,13 @@ MessageViewMailBoxUserView.prototype.escShortcuts = function()
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
MessageViewMailBoxUserView.prototype.initShortcuts = function()
|
||||
{
|
||||
var
|
||||
self = this;
|
||||
var self = this;
|
||||
|
||||
// exit fullscreen, back
|
||||
key('esc, backspace', Enums.KeyState.MessageView, _.bind(this.escShortcuts, this));
|
||||
|
|
@ -843,6 +844,8 @@ MessageViewMailBoxUserView.prototype.initShortcuts = function()
|
|||
self.replyCommand();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
// replaAll
|
||||
|
|
@ -852,6 +855,8 @@ MessageViewMailBoxUserView.prototype.initShortcuts = function()
|
|||
self.replyAllCommand();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
// forward
|
||||
|
|
@ -861,6 +866,8 @@ MessageViewMailBoxUserView.prototype.initShortcuts = function()
|
|||
self.forwardCommand();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
// message information
|
||||
|
|
@ -879,6 +886,8 @@ MessageViewMailBoxUserView.prototype.initShortcuts = function()
|
|||
MessageStore.message().body.find('.rlBlockquoteSwitcher').click();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
key('ctrl+up, command+up, ctrl+left, command+left', [Enums.KeyState.MessageList, Enums.KeyState.MessageView], function() {
|
||||
|
|
@ -916,6 +925,8 @@ MessageViewMailBoxUserView.prototype.initShortcuts = function()
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
// change focused state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue