mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
ko hidden: use html5 hidden attribute
ko visible: rollback to use style.display
This commit is contained in:
parent
52e6b9b0ed
commit
c2a5d0fda5
7 changed files with 21 additions and 15 deletions
|
|
@ -21,7 +21,7 @@ class LoginAdminView extends AbstractViewNext {
|
|||
this.mobile = !!appSettingsGet('mobile');
|
||||
this.mobileDevice = !!appSettingsGet('mobileDevice');
|
||||
|
||||
this.hideSubmitButton = appSettingsGet('hideSubmitButton') ? '' : null;
|
||||
this.hideSubmitButton = appSettingsGet('hideSubmitButton');
|
||||
|
||||
this.login = ko.observable('');
|
||||
this.password = ko.observable('');
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class LoginUserView extends AbstractViewNext {
|
|||
constructor() {
|
||||
super();
|
||||
|
||||
this.hideSubmitButton = Settings.app('hideSubmitButton') ? '' : null;
|
||||
this.hideSubmitButton = Settings.app('hideSubmitButton');
|
||||
|
||||
this.welcome = ko.observable(!!Settings.get('UseLoginWelcomePage'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue