ElasticUI
                                
                                 ElasticUI copied to clipboard
                                
                                    ElasticUI copied to clipboard
                            
                            
                            
                        only run this.search() when a query is set
- Seems you've added some code changes in demo.html which weren't intential
- can't we move the null checks to a more centralized place, instead of adding 5+ of them all around?
Thanks,
Cool i can make those changes. Everything else make sense? I'll create some method like isQuerySet to check the value.
Just made changes let me know if everything looks alright.
Hi, I didn't mean moving the null checks to a separate method. I meant can't we have 1 check further down / up in the call stack and thus centralize the logic?
ahh okay, sorry i misunderstood.