refactor: Add lazy loading for images in ZenThemeMarketplaceChild.sys.mjs

This commit is contained in:
Mauro Balades 2024-08-17 11:02:27 +02:00
parent 582dae1769
commit 306cd13a9b

View file

@ -20,6 +20,7 @@ export class ZenThemeMarketplaceChild extends JSWindowActorChild {
}
async addIntallButtons() {
const actionButton = this.contentWindow.document.getElementById("install-theme");
const errorMessage = this.contentWindow.document.getElementById("install-theme-error");
if (actionButton) {