Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
[popup] On WP7, you get "" for an empty background, not undefined, li…
Browse files Browse the repository at this point in the history
…ke in IE8
  • Loading branch information
Gabriel Schulhof committed Aug 15, 2012
1 parent d207905 commit 5463fc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/widgets/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 5463fc8

Please sign in to comment.