mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 13:06:34 +02:00
Use braces for early return
This commit is contained in:
parent
2e59385cc2
commit
3169d8c3d7
|
@ -481,8 +481,9 @@ class Choices {
|
|||
* @private
|
||||
*/
|
||||
render() {
|
||||
if(this.store.isLoading())
|
||||
if(this.store.isLoading()) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.currentState = this.store.getState();
|
||||
|
||||
|
|
Loading…
Reference in a new issue