fix a bug in text panel resize handler
This commit is contained in:
parent
1f5735e6a4
commit
2732638a9f
1 changed files with 2 additions and 2 deletions
|
@ -324,14 +324,14 @@ pandora.ui.textEmbed = function() {
|
|||
var that = Ox.Element()
|
||||
.bindEvent({
|
||||
resizestart: function() {
|
||||
url && $overlay.show();
|
||||
$iframe.attr('src') && $overlay.show();
|
||||
},
|
||||
resize: function(data) {
|
||||
pandora.user.ui.embedSize = data.size;
|
||||
pandora.$ui.text.update();
|
||||
},
|
||||
resizeend: function() {
|
||||
url && $overlay.hide();
|
||||
$iframe.attr('src') && $overlay.hide();
|
||||
}
|
||||
}),
|
||||
|
||||
|
|
Loading…
Reference in a new issue