Skip to content
This repository
Browse code

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

…ke in IE8
  • Loading branch information...
commit 5463fc84dcadb92137bb11b86efcff20d88cb102 1 parent d207905
Gabriel "_|Nix|_" Schulhof authored August 15, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  js/widgets/popup.js
3  js/widgets/popup.js
@@ -220,7 +220,8 @@ define( [ "jquery",
220 220
 					"ui-popup-screen-background-hack",
221 221
 					( this._ui.screen.css( "background-color" ) === "transparent" &&
222 222
 						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" ) === "" ) ) );
224 225
 			}
225 226
 
226 227
 			if ( this._isOpen ) {

0 notes on commit 5463fc8

Please sign in to comment.
Something went wrong with that request. Please try again.