forked from 0x2620/pandora
fix a bug where the sign up/sign in dialog button would not get enabled
This commit is contained in:
parent
edb20ee2ce
commit
0de88203da
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ pandora.URL = (function() {
|
||||||
pandora.$ui.helpDialog = pandora.ui.helpDialog().open();
|
pandora.$ui.helpDialog = pandora.ui.helpDialog().open();
|
||||||
} else if (['signup', 'signin'].indexOf(state.page) > -1) {
|
} else if (['signup', 'signin'].indexOf(state.page) > -1) {
|
||||||
if (pandora.user.level == 'guest') {
|
if (pandora.user.level == 'guest') {
|
||||||
pandora.ui.accountDialog(state.page).open();
|
pandora.$ui.accountDialog = pandora.ui.accountDialog(state.page).open();
|
||||||
} else {
|
} else {
|
||||||
pandora.URL.replace('/');
|
pandora.URL.replace('/');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue