Remove jquery from window manager wrapper

This commit is contained in:
guerler
2022-05-24 11:45:03 -04:00
parent 59880bc07a
commit e45acf8759
+1 -1
View File
@@ -29,7 +29,7 @@ export class WindowManager {
} else if (options.target == "_top" || options.target == "_parent" || options.target == "_self") {
window.location = options.url;
} else if (!this.active) {
const $galaxy_main = $(window.parent.document).find("#galaxy_main");
const $galaxy_main = window.parent.document.getElementById("galaxy_main");
if (options.target == "galaxy_main" || options.target == "center") {
if ($galaxy_main.length === 0) {
window.location = this._build_url(options.url, { use_panels: true });