See https://www.woltlab.com/community/thread/309553-%C3%A4nderung-der-fenstergr%C3%B6%C3%9Fe-zitate-reaktionen/
},
{ passive: false },
);
+
+ window.addEventListener(
+ "resize",
+ () => {
+ this.copyQuote.classList.remove("active");
+ },
+ { passive: true },
+ );
}
/**
DomChangeListener.add(`WoltLabSuite/Core/Ui/Reaction/Handler-${objectType}`, () => this.initReactButtons());
UiCloseOverlay.add("WoltLabSuite/Core/Ui/Reaction/Handler", () => this._closePopover());
+
+ window.addEventListener(
+ "resize",
+ () => {
+ this._closePopover();
+ },
+ { passive: true },
+ );
}
/**
}, { once: true, passive: false });
}
}, { passive: false });
+ window.addEventListener("resize", () => {
+ this.copyQuote.classList.remove("active");
+ }, { passive: true });
}
/**
* Initializes message containers.
this.initReactButtons();
Listener_1.default.add(`WoltLabSuite/Core/Ui/Reaction/Handler-${objectType}`, () => this.initReactButtons());
CloseOverlay_1.default.add("WoltLabSuite/Core/Ui/Reaction/Handler", () => this._closePopover());
+ window.addEventListener("resize", () => {
+ this._closePopover();
+ }, { passive: true });
}
/**
* Initializes all applicable react buttons with the given selector.