Skip to content
Snippets Groups Projects
Commit bc89d6d4 authored by Arkerthan's avatar Arkerthan
Browse files

fix showtextbox requiring a parameter

parent c1b72af6
No related branches found
No related tags found
1 merge request!8498Various options CSS improvements
...@@ -89,12 +89,12 @@ App.UI.OptionsGroup = (function() { ...@@ -89,12 +89,12 @@ App.UI.OptionsGroup = (function() {
} }
/** /**
* @param {Object} params * @param {Object} [params]
* @param {string} [params.unit] * @param {string} [params.unit]
* @param {boolean} [params.large=false] * @param {boolean} [params.large=false]
* @returns {Option} * @returns {Option}
*/ */
showTextBox({unit, large = false}) { showTextBox({unit, large = false} = {}) {
this.textbox = {unit: unit, large: large}; this.textbox = {unit: unit, large: large};
return this; return this;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment