diff --git a/src/Selected.js b/src/Selected.js index 7f59c855..db2cbf96 100644 --- a/src/Selected.js +++ b/src/Selected.js @@ -99,7 +99,7 @@ var Selected = React.createClass({ this.setValue(values.join(this.props.delimiter)); } else { this.setValue(clickedValue); - this.refs.dropdown.setDropdownState(false); + this.refs.dropdown.setDropdown(false); } }, diff --git a/webpack.docs.js b/webpack.docs.js index 5c03e805..6182e9c9 100644 --- a/webpack.docs.js +++ b/webpack.docs.js @@ -38,6 +38,7 @@ const basePlugins = [ template: 'docs/index.html', UICDN: isProduction ? 'http://cdn.amazeui.org/amazeui/2.5.0/' : '', assets: isProduction ? 'http://s.amazeui.org/assets/react' : '', + stat: isProduction, minify: isProduction ? { removeComments: true, collapseWhitespace: true