don't throw JS error when resizing site dialog news tab that doesn't contain any news
This commit is contained in:
parent
fa6b65e235
commit
653666b3ef
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ pandora.ui.news = function(width, height) {
|
|||
width = data.width;
|
||||
height = data.height;
|
||||
$left.css({width: width - 512});
|
||||
$text.css({width: width - 512});
|
||||
$text && $text.css({width: width - 512});
|
||||
};
|
||||
|
||||
that.bindEvent({
|
||||
|
|
Loading…
Reference in a new issue