mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Cleanup user-select
This commit is contained in:
parent
997dc87305
commit
2a01d8c991
19 changed files with 8 additions and 23 deletions
|
|
@ -2,7 +2,7 @@ import ko from 'ko';
|
|||
|
||||
import { pString } from 'Common/Utils';
|
||||
import { settings } from 'Common/Links';
|
||||
import { elementById } from 'Common/Globals';
|
||||
import { createElement, elementById } from 'Common/Globals';
|
||||
|
||||
import { AbstractScreen } from 'Knoin/AbstractScreen';
|
||||
|
||||
|
|
@ -33,9 +33,10 @@ export class AbstractSettingsScreen extends AbstractScreen {
|
|||
} else {
|
||||
const vmPlace = elementById('rl-settings-subscreen');
|
||||
if (vmPlace) {
|
||||
viewModelDom = Element.fromHTML('<div id="V-Settings-'
|
||||
+ (RoutedSettingsViewModel.name.replace(/(User|Admin)Settings/,''))
|
||||
+ '" class="g-ui-user-select-none" hidden=""></div>');
|
||||
viewModelDom = createElement('div',{
|
||||
id: 'V-Settings-' + RoutedSettingsViewModel.name.replace(/(User|Admin)Settings/,''),
|
||||
hidden: ''
|
||||
})
|
||||
vmPlace.append(viewModelDom);
|
||||
|
||||
settingsScreen = new RoutedSettingsViewModel();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue