Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[popup] On WP7, you get "" for an empty background, not undefined, li…

…ke in IE8
  • Loading branch information...
commit 5463fc84dcadb92137bb11b86efcff20d88cb102 1 parent d207905
@gabrielschulhof gabrielschulhof authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  js/widgets/popup.js
View
3  js/widgets/popup.js
@@ -220,7 +220,8 @@ define( [ "jquery",
"ui-popup-screen-background-hack",
( this._ui.screen.css( "background-color" ) === "transparent" &&
this._ui.screen.css( "background-image" ) === "none" &&
- this._ui.screen.css( "background" ) === undefined ) );
+ ( this._ui.screen.css( "background" ) === undefined ||
+ this._ui.screen.css( "background" ) === "" ) ) );
}
if ( this._isOpen ) {
Please sign in to comment.
Something went wrong with that request. Please try again.