From c6f8f43d675837ef32bc9ee94e058bd2b2a39f4c Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Tue, 29 Dec 2020 14:39:08 +0100 Subject: [PATCH] make load faster --- src/editor/components/seDropdown.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/editor/components/seDropdown.js b/src/editor/components/seDropdown.js index 91accd1f..447d4cc7 100644 --- a/src/editor/components/seDropdown.js +++ b/src/editor/components/seDropdown.js @@ -2,9 +2,8 @@ import ListComboBox from 'elix/define/ListComboBox.js'; import NumberSpinBox from 'elix/define/NumberSpinBox.js'; // import Input from 'elix/src/base/Input.js'; -import {defaultState} from 'elix/src/base/internal.js'; +import * as internal from 'elix/src/base/internal.js'; import {templateFrom, fragmentFrom} from 'elix/src/core/htmlLiterals.js'; -import {internal} from 'elix'; /** * @class Dropdown @@ -14,8 +13,8 @@ class Dropdown extends ListComboBox { * @function get * @returns {PlainObject} */ - get [defaultState] () { - return Object.assign(super[defaultState], { + get [internal.defaultState] () { + return Object.assign(super[internal.defaultState], { inputPartType: NumberSpinBox, src: './images/logo.svg', inputsize: '100%'