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

This commit is contained in:
Mauro Balades 2024-08-16 22:43:42 +02:00
parent c05abd76b2
commit 67356d77ed

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) {