mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Code refactoring (5) (es5 -> es2015)
This commit is contained in:
parent
c148e19ea3
commit
cec53b111f
68 changed files with 2210 additions and 2472 deletions
|
|
@ -182,7 +182,11 @@ FolderListMailBoxUserView.prototype.onBuild = function(oDom)
|
|||
});
|
||||
|
||||
key('space', Enums.KeyState.FolderList, function() {
|
||||
var bCollapsed = true, oFolder = null, $items = $('.b-folders .e-item .e-link:not(.hidden).focused', oDom);
|
||||
var
|
||||
bCollapsed = true,
|
||||
oFolder = null,
|
||||
$items = $('.b-folders .e-item .e-link:not(.hidden).focused', oDom);
|
||||
|
||||
if ($items.length && $items[0])
|
||||
{
|
||||
oFolder = ko.dataFor($items[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue