diff --git a/static/js/pandora/textPanel.js b/static/js/pandora/textPanel.js index 65a7b33e..892cb641 100644 --- a/static/js/pandora/textPanel.js +++ b/static/js/pandora/textPanel.js @@ -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(); } }),