Skip to content

Commit 5463fc8

Browse files
author
Gabriel Schulhof
committed
[popup] On WP7, you get "" for an empty background, not undefined, like in IE8
1 parent d207905 commit 5463fc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/widgets/popup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ define( [ "jquery",
220220
"ui-popup-screen-background-hack",
221221
( this._ui.screen.css( "background-color" ) === "transparent" &&
222222
this._ui.screen.css( "background-image" ) === "none" &&
223-
this._ui.screen.css( "background" ) === undefined ) );
223+
( this._ui.screen.css( "background" ) === undefined ||
224+
this._ui.screen.css( "background" ) === "" ) ) );
224225
}
225226

226227
if ( this._isOpen ) {

0 commit comments

Comments
 (0)