Browse Source

Fix the checkbox to disable the Welcome page

Recently, we reimplemented the Welcome page in React. Unfortunately, we
broke the checkbox that enables/disables the Welcome page and it would
allow checking but wouldn't allow unchecking.
master
Lyubomir Marinov 8 years ago
parent
commit
b8a6eb4768
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/welcome/components/WelcomePage.web.js

+ 1
- 1
react/features/welcome/components/WelcomePage.web.js View File

@@ -95,7 +95,7 @@ class WelcomePage extends AbstractWelcomePage {
95 95
      */
96 96
     _onDisableWelcomeChange(event) {
97 97
         this.setState({
98
-            enableWelcomePage: !event.target.value
98
+            enableWelcomePage: !event.target.checked
99 99
         }, () => {
100 100
             APP.settings.setWelcomePageEnabled(this.state.enableWelcomePage);
101 101
         });

Loading…
Cancel
Save