forked from 0x2620/pandora
update help dialog
This commit is contained in:
parent
12fc1d8add
commit
6b6e5df976
1 changed files with 3 additions and 1 deletions
|
@ -44,6 +44,7 @@ pandora.ui.helpDialog = function() {
|
|||
maximizeButton: true,
|
||||
minHeight: 256,
|
||||
minWidth: 576,
|
||||
removeOnClose: true,
|
||||
title: 'Help',
|
||||
width: Math.round(window.innerWidth * 0.75)
|
||||
})
|
||||
|
@ -55,7 +56,8 @@ pandora.ui.helpDialog = function() {
|
|||
$list.size();
|
||||
},
|
||||
'pandora_hash.anchor': function(data) {
|
||||
that.select(data.value == '' ? 'help' : data.value);
|
||||
pandora.user.ui.page == 'help' &&
|
||||
that.select(data.value == '' ? 'help' : data.value);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue