import * as Environment from "../Environment";
import * as UiAlignment from "../Ui/Alignment";
import { AjaxCallbackObject, AjaxCallbackSetup, CallbackFailure, CallbackSuccess, RequestPayload } from "../Ajax/Data";
-import { getPageOverlayContainer } from "../Helper/PageOverlay";
const enum State {
None,
pointer.appendChild(document.createElement("span"));
this.popover.appendChild(pointer);
- getPageOverlayContainer().append(this.popover);
+ document.body.append(this.popover);
// event listener
this.popover.addEventListener("mouseenter", () => this.popoverMouseEnter());
* @copyright 2001-2019 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
*/
-define(["require", "exports", "tslib", "../Ajax", "../Dom/Change/Listener", "../Dom/Util", "../Environment", "../Ui/Alignment", "../Helper/PageOverlay"], function (require, exports, tslib_1, Ajax, Listener_1, Util_1, Environment, UiAlignment, PageOverlay_1) {
+define(["require", "exports", "tslib", "../Ajax", "../Dom/Change/Listener", "../Dom/Util", "../Environment", "../Ui/Alignment"], function (require, exports, tslib_1, Ajax, Listener_1, Util_1, Environment, UiAlignment) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ajaxApi = exports.setContent = exports.init = void 0;
pointer.className = "elementPointer";
pointer.appendChild(document.createElement("span"));
this.popover.appendChild(pointer);
- (0, PageOverlay_1.getPageOverlayContainer)().append(this.popover);
+ document.body.append(this.popover);
// event listener
this.popover.addEventListener("mouseenter", () => this.popoverMouseEnter());
this.popover.addEventListener("mouseleave", () => this.mouseLeave());