mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Small fixes (#70)
This commit is contained in:
parent
fbf17aa6f3
commit
83036c8341
|
@ -28,7 +28,7 @@ function Selector(oKoList, oKoSelectedItem,
|
|||
this.selectedItem = oKoSelectedItem;
|
||||
this.selectedItemUseCallback = true;
|
||||
|
||||
this.itemSelectedTrottle = _.throttle(_.bind(this.itemSelected, this), 300);
|
||||
this.itemSelectedThrottle = _.debounce(_.bind(this.itemSelected, this), 300);
|
||||
|
||||
this.listChecked.subscribe(function (aItems) {
|
||||
if (0 < aItems.length)
|
||||
|
@ -61,7 +61,7 @@ function Selector(oKoList, oKoSelectedItem,
|
|||
|
||||
if (this.selectedItemUseCallback)
|
||||
{
|
||||
this.itemSelectedTrottle(oItem);
|
||||
this.itemSelectedThrottle(oItem);
|
||||
}
|
||||
}
|
||||
else if (this.selectedItemUseCallback)
|
||||
|
|
|
@ -512,7 +512,7 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
|
||||
&.hideMessageListCheckbox {
|
||||
.checkedParent {
|
||||
.checkedParent, .checkboxCkeckAll {
|
||||
display: none !important;
|
||||
}
|
||||
.sidebarParent {
|
||||
|
|
|
@ -498,6 +498,7 @@ MailBoxMessageViewViewModel.prototype.initShortcuts = function ()
|
|||
{
|
||||
self.deleteCommand();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -7076,7 +7076,8 @@ html.rl-no-preview-pane .messageList.message-selected {
|
|||
opacity: 0.97;
|
||||
filter: alpha(opacity=97);
|
||||
}
|
||||
.messageList.hideMessageListCheckbox .checkedParent {
|
||||
.messageList.hideMessageListCheckbox .checkedParent,
|
||||
.messageList.hideMessageListCheckbox .checkboxCkeckAll {
|
||||
display: none !important;
|
||||
}
|
||||
.messageList.hideMessageListCheckbox .sidebarParent {
|
||||
|
|
2
rainloop/v/0.0.0/static/css/app.min.css
vendored
2
rainloop/v/0.0.0/static/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
6
rainloop/v/0.0.0/static/js/admin.min.js
vendored
6
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3930,7 +3930,7 @@ function Selector(oKoList, oKoSelectedItem,
|
|||
this.selectedItem = oKoSelectedItem;
|
||||
this.selectedItemUseCallback = true;
|
||||
|
||||
this.itemSelectedTrottle = _.throttle(_.bind(this.itemSelected, this), 300);
|
||||
this.itemSelectedThrottle = _.debounce(_.bind(this.itemSelected, this), 300);
|
||||
|
||||
this.listChecked.subscribe(function (aItems) {
|
||||
if (0 < aItems.length)
|
||||
|
@ -3963,7 +3963,7 @@ function Selector(oKoList, oKoSelectedItem,
|
|||
|
||||
if (this.selectedItemUseCallback)
|
||||
{
|
||||
this.itemSelectedTrottle(oItem);
|
||||
this.itemSelectedThrottle(oItem);
|
||||
}
|
||||
}
|
||||
else if (this.selectedItemUseCallback)
|
||||
|
@ -13201,6 +13201,7 @@ MailBoxMessageViewViewModel.prototype.initShortcuts = function ()
|
|||
{
|
||||
self.deleteCommand();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
|
12
rainloop/v/0.0.0/static/js/app.min.js
vendored
12
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue