forked from 0x2620/pandora
might not be loaded
This commit is contained in:
parent
18cbf0ec9c
commit
1b1442e664
1 changed files with 19 additions and 17 deletions
|
@ -137,6 +137,7 @@ pandora.ui.helpDialog = function() {
|
||||||
|
|
||||||
that.select = function(id) {
|
that.select = function(id) {
|
||||||
var img, $img;
|
var img, $img;
|
||||||
|
if ($text) {
|
||||||
$text.html(text[id || 'help']).scrollTop(0);
|
$text.html(text[id || 'help']).scrollTop(0);
|
||||||
img = $text.find('img');
|
img = $text.find('img');
|
||||||
if (img) {
|
if (img) {
|
||||||
|
@ -155,6 +156,7 @@ pandora.ui.helpDialog = function() {
|
||||||
textAlign: 'right',
|
textAlign: 'right',
|
||||||
whiteSpace: 'nowrap'
|
whiteSpace: 'nowrap'
|
||||||
});
|
});
|
||||||
|
}
|
||||||
return that;
|
return that;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue