[Imagery] Clear background image

Clear background image on change, WTD-1407.
This commit is contained in:
Victor Woeltjen 2015-06-29 18:48:16 -07:00
parent 397a545482
commit 5f80fcabc6
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ define(
if (!url) { if (!url) {
loaded = myCounter; loaded = myCounter;
element.css('background-image', undefined); element.css('background-image', 'none');
} else { } else {
image = $document[0].createElement('img'); image = $document[0].createElement('img');
image.src = url; image.src = url;

View File

@ -92,7 +92,7 @@ define(
expect(mockElement.css.mostRecentCall.args).toEqual([ expect(mockElement.css.mostRecentCall.args).toEqual([
"background-image", "background-image",
undefined "none"
]); ]);
}); });
}); });