Closed gmcnaughton closed 11 years ago
If an element starts with background-image: url(...) but javascript later sets it to background-image: none, the original image still displays.
background-image: url(...)
background-image: none
My workaround was to add img.style.visibility = "hidden"; to ln 138 (in the else clause of refreshBackgroundImage, when the src cannot be parsed).
img.style.visibility = "hidden";
Thanks for submitting this! 0.2.0 should handle background-image: none set from JavaScript; please reopen (or file a new ticket) if you find it doesn't.
If an element starts with
background-image: url(...)
but javascript later sets it tobackground-image: none
, the original image still displays.My workaround was to add
img.style.visibility = "hidden";
to ln 138 (in the else clause of refreshBackgroundImage, when the src cannot be parsed).