mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Move popupVisibility to knoin
This commit is contained in:
parent
3374a2d2d3
commit
b0942a7ff7
3 changed files with 12 additions and 13 deletions
|
|
@ -131,15 +131,6 @@ moveAction.subscribe((value) => {
|
|||
}
|
||||
});
|
||||
|
||||
// popups
|
||||
export const popupVisibilityNames = ko.observableArray([]);
|
||||
|
||||
export const popupVisibility = ko.computed(() => 0 < popupVisibilityNames().length);
|
||||
|
||||
popupVisibility.subscribe((bValue) => {
|
||||
$htmlCL.toggle('rl-modal', bValue);
|
||||
});
|
||||
|
||||
// keys
|
||||
export const keyScopeReal = ko.observable(KeyState.All);
|
||||
export const keyScopeFake = ko.observable(KeyState.All);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue