mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 15:02:23 +00:00
[Imagery] Clear background image
Clear background image on change, WTD-1407.
This commit is contained in:
parent
397a545482
commit
5f80fcabc6
@ -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;
|
||||||
|
@ -92,7 +92,7 @@ define(
|
|||||||
|
|
||||||
expect(mockElement.css.mostRecentCall.args).toEqual([
|
expect(mockElement.css.mostRecentCall.args).toEqual([
|
||||||
"background-image",
|
"background-image",
|
||||||
undefined
|
"none"
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user