Export 0.1.62
[platform/framework/web/web-ui-fw.git] / src / widgets / popupwindow / js / jquery.mobile.tizen.popupwindow.js
index 25ad79c..5d93a1f 100755 (executable)
                                }
                        } );
 
-                       this._ui.screen.css( "height", $( window ).height() )
-                                       .removeClass("ui-screen-hidden");
+                       this._ui.screen.css( "height", $( window ).height() );
 
                        if( backgroundclose ) {
-                               this._ui.screen.css( "opacity", 0 );
+                               this._ui.screen.css( "opacity", 0 )
+                                               .removeClass("ui-screen-hidden");
                        } else {
+                               this._ui.removeClass("ui-screen-hidden");
+
                                if ( this.options.fade ) {
                                        this._ui.screen.animate( {opacity: this.options.opacity}, "fast" );
                                } else {