| @@ -1,21 +1,19 @@ | ||
| 1 | -(function() { | |
| 1 | +/******/ (() => { // webpackBootstrap | |
| 2 | +/******/ "use strict"; | |
| 3 | +/*!************************************************!*\ | |
| 4 | + !*** ../modules/editor-one/assets/js/admin.js ***! | |
| 5 | + \************************************************/ | |
| 2 | 6 | |
| 3 | -//#region \0rolldown/runtime.js | |
| 4 | - var __defProp = Object.defineProperty; | |
| 5 | - var __name = (target, value) => __defProp(target, "name", { | |
| 6 | - value, | |
| 7 | - configurable: true | |
| 8 | - }); | |
| 9 | 7 | |
| 10 | -//#endregion | |
| 11 | - | |
| 12 | -//#region modules/editor-one/assets/js/admin.js | |
| 13 | - document.addEventListener("DOMContentLoaded", function() { | |
| 14 | - if ("elementor-element-manager" === new URLSearchParams(window.location.search).get("page")) document.querySelectorAll("link[href*=\"/wp-admin/css/forms.css\"]").forEach(function(link) { | |
| 15 | - return link.remove(); | |
| 16 | - }); | |
| 17 | - }); | |
| 18 | - | |
| 19 | -//#endregion | |
| 20 | -})(); | |
| 8 | +document.addEventListener('DOMContentLoaded', function () { | |
| 9 | + var urlParams = new URLSearchParams(window.location.search); | |
| 10 | + if ('elementor-element-manager' === urlParams.get('page')) { | |
| 11 | + var links = document.querySelectorAll('link[href*="/wp-admin/css/forms.css"]'); | |
| 12 | + links.forEach(function (link) { | |
| 13 | + return link.remove(); | |
| 14 | + }); | |
| 15 | + } | |
| 16 | +}); | |
| 17 | +/******/ })() | |
| 18 | +; | |
| 21 | 19 | //# sourceMappingURL=editor-one-admin.js.map |