diff options
author | elijah <elijah@riseup.net> | 2017-02-24 20:30:55 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2017-02-24 20:35:48 -0800 |
commit | 904e99c658e647a1c9acbb80a1f54c593a57bf61 (patch) | |
tree | 564941e887b67de442e365d9c089aa0872e75169 /ui/app/components | |
parent | 76f2ec8b97d15e45e1fe97dff2317d60d10c5dc1 (diff) |
[feature] Update bitmask.js to use authtoken
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/debug_panel.js | 4 | ||||
-rw-r--r-- | ui/app/components/greeter_panel.js | 2 | ||||
-rw-r--r-- | ui/app/components/main_panel/user_section.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/debug_panel.js b/ui/app/components/debug_panel.js index 7515ba8..5ffd405 100644 --- a/ui/app/components/debug_panel.js +++ b/ui/app/components/debug_panel.js @@ -10,11 +10,11 @@ class DebugPanel extends React.Component { } componentDidMount() { - this.click(window.location.hash.replace('#', '')) + //this.click(window.location.hash.replace('#', '')) } click(panel_name) { - window.location.hash = panel_name + //window.location.hash = panel_name App.show(panel_name) } diff --git a/ui/app/components/greeter_panel.js b/ui/app/components/greeter_panel.js index acaf0d5..3140357 100644 --- a/ui/app/components/greeter_panel.js +++ b/ui/app/components/greeter_panel.js @@ -31,7 +31,7 @@ export default class GreeterPanel extends React.Component { <Area position="bottom" type="dark" className="greeter"> <Glyphicon glyph="user" /> - <a href="#" onClick={this.newAccount.bind(this)}>Create a new account...</a> + <a href="javascript:void(0)" onClick={this.newAccount.bind(this)}>Create a new account...</a> </Area> </Center> </div> diff --git a/ui/app/components/main_panel/user_section.js b/ui/app/components/main_panel/user_section.js index b792bb4..17e492d 100644 --- a/ui/app/components/main_panel/user_section.js +++ b/ui/app/components/main_panel/user_section.js @@ -97,7 +97,7 @@ export default class UserSection extends React.Component { /> <br /> <Glyphicon glyph="user" /> - <a href="#" onClick={App.show.bind(App, 'wizard')}>Create a new account...</a> + <a href="javascript:void(0)" onClick={App.show.bind(App, 'wizard')}>Create a new account...</a> </div> ) return ( |