}
private initCopyQuote(supportDirectInsert: boolean): void {
- const copyQuote = document.getElementById("quoteManagerCopy");
- copyQuote?.remove();
-
- this.copyQuote.id = "quoteManagerCopy";
- this.copyQuote.classList.add("balloonTooltip", "interactive");
+ this.copyQuote.classList.add("balloonTooltip", "interactive", "quoteManagerCopy");
const buttonSaveQuote = document.createElement("span");
buttonSaveQuote.classList.add("jsQuoteManagerStore");
return coordinates;
}
initCopyQuote(supportDirectInsert) {
- const copyQuote = document.getElementById("quoteManagerCopy");
- copyQuote === null || copyQuote === void 0 ? void 0 : copyQuote.remove();
- this.copyQuote.id = "quoteManagerCopy";
- this.copyQuote.classList.add("balloonTooltip", "interactive");
+ this.copyQuote.classList.add("balloonTooltip", "interactive", "quoteManagerCopy");
const buttonSaveQuote = document.createElement("span");
buttonSaveQuote.classList.add("jsQuoteManagerStore");
buttonSaveQuote.textContent = Language.get("wcf.message.quote.quoteSelected");
}
}
-#quoteManagerCopy {
- /* Prevent the tooltip from being selected on touch devices. */
+.quoteManagerCopy {
-webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
user-select: none;
-
white-space: nowrap;
z-index: 350;