diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-09-20 12:14:22 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2023-09-20 12:14:22 +0200 |
| commit | abf87b75f8a57e6de0ef7349f6577a0e1c39ce1b (patch) | |
| tree | 1584032f50d7728cbd9e69889b3b36f0ba5ba7f6 /webAO/ui.js | |
| parent | 5fc20f9dd53fe4d32be08d538782baa47c67853c (diff) | |
no more eslint errors
Diffstat (limited to 'webAO/ui.js')
| -rw-r--r-- | webAO/ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/ui.js b/webAO/ui.js index 69d4905..dc3c342 100644 --- a/webAO/ui.js +++ b/webAO/ui.js @@ -1,3 +1,5 @@ +/* eslint no-param-reassign: ["error", +{ "props": true, "ignorePropertyModificationsFor": ["container"] }] */ import { GoldenLayout } from 'golden-layout'; const config = { @@ -68,7 +70,5 @@ const golden = new GoldenLayout(); golden.registerComponentFactoryFunction('template', (container, componentState) => { const template = document.querySelector(`#${componentState.id}`); container.element.innerHTML = template.innerHTML; - // TODO: support multiple locales - // container.setTitle(document.querySelector(`#${componentState.id} meta[name='frame-title']`).getAttribute("content")); }); golden.loadLayout(config); |
