From fa2582d1e1b06d27aacdd397b123a8c62e7de12e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 9 Jun 2023 09:01:32 +0200 Subject: [PATCH] revert changes to js files --- .../public-assets/App_Plugins/property-editor.js | 12 ++++++------ .../public-assets/App_Plugins/section.js | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js index d217ad5cee..a79a2b9b72 100644 --- a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js +++ b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js @@ -4,10 +4,10 @@ template.innerHTML = ` `; export default class MyPropertyEditorUI extends HTMLElement { - constructor() { - super(); - this.attachShadow({ mode: 'open' }); - this.shadowRoot.appendChild(template.content.cloneNode(true)); - } + constructor() { + super(); + this.attachShadow({mode: 'open'}); + this.shadowRoot.appendChild(template.content.cloneNode(true)); + } } -customElements.define('my-property-editor-ui-custom', MyPropertyEditorUI); +customElements.define('my-property-editor-ui-custom', MyPropertyEditorUI); \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js index b9835aa52a..c55d9eb25b 100644 --- a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js +++ b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js @@ -15,11 +15,11 @@ template.innerHTML = ` `; export default class MySectionCustom extends HTMLElement { - constructor() { - super(); - this.attachShadow({ mode: 'open' }); - this.shadowRoot.appendChild(template.content.cloneNode(true)); - } + constructor() { + super(); + this.attachShadow({mode: 'open'}); + this.shadowRoot.appendChild(template.content.cloneNode(true)); + } } -customElements.define('my-section-custom', MySectionCustom); +customElements.define('my-section-custom', MySectionCustom); \ No newline at end of file