aboutsummaryrefslogtreecommitdiff
path: root/webAO/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/ui.js')
-rw-r--r--webAO/ui.js4
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);