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

This commit is contained in:
Mauro Balades 2024-08-17 01:31:33 +02:00
parent 6ef29801ee
commit 272f8be26d

View file

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