diff --git a/source/Ox.UI/js/Window/Dialog.js b/source/Ox.UI/js/Window/Dialog.js index 29e59db1..e3bd92c1 100644 --- a/source/Ox.UI/js/Window/Dialog.js +++ b/source/Ox.UI/js/Window/Dialog.js @@ -580,7 +580,7 @@ Ox.Dialog = function(options, self) { function setContent() { var animate = !!self.$content, - isImage = !Ox.isOxElement(self.options.content) + isImage = !Ox.UI.isElement(self.options.content) && self.options.content.is('img'); if (animate) { self.$content.animate({