mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Cleanup user-select
This commit is contained in:
parent
997dc87305
commit
2a01d8c991
19 changed files with 8 additions and 23 deletions
|
|
@ -12,7 +12,6 @@ class AbstractView {
|
|||
this.viewModelTemplateID = templateID;
|
||||
this.viewType = type;
|
||||
this.viewModelDom = null;
|
||||
this.viewNoUserSelect = false;
|
||||
|
||||
this.keyScope = {
|
||||
scope: Scope.None,
|
||||
|
|
|
|||
|
|
@ -47,10 +47,6 @@ const
|
|||
vm.viewModelDom = vmDom;
|
||||
ViewModelClass.__dom = vmDom;
|
||||
|
||||
if (vm.viewNoUserSelect) {
|
||||
vmDom.classList.add('g-ui-user-select-none');
|
||||
}
|
||||
|
||||
if (ViewType.Popup === position) {
|
||||
vm.cancelCommand = vm.closeCommand = createCommand(() => hideScreenPopup(ViewModelClass));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue