mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897408 - remove erroneous style.removeProperty call in Site.prototype.refreshThumbnail. r=ttaubert
This commit is contained in:
parent
4bf567ba23
commit
a4e0e4a736
@ -144,10 +144,6 @@ Site.prototype = {
|
||||
refreshThumbnail: function Site_refreshThumbnail() {
|
||||
let thumbnailURL = PageThumbs.getThumbnailURL(this.url);
|
||||
let thumbnail = this._querySelector(".newtab-thumbnail");
|
||||
// if this is being called due to the thumbnail being updated we will
|
||||
// be setting it to the same value it had before. To be confident the
|
||||
// change wont be optimized away we remove the property first.
|
||||
thumbnail.style.removeProperty("backgroundImage");
|
||||
thumbnail.style.backgroundImage = "url(" + thumbnailURL + ")";
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user