</div>
</form>
- <!-- Searchresult data-toggle="collapse" data-target="#dropdown-menu"-->
+ <!-- Searchresult -->
<div class="row">
<span [hidden]="hideDiv()">
<div class="divresult col-md-10" id="divresult" [hidden]="checkOrgunits()">
getMoreInfo(orgunit) {
this.orgunits = [];
this.newsearch.next(orgunit.id);
+ if(!this.visible){
+ this.visible = !this.visible;
+ this.resetSelector();
+ document.getElementById("dropdown-menu").style.display = "none";
+ }
return document.getElementById("searchform").reset();
}
//Hide results when search bar input is erased
hideDiv() {
if (this.searchBar.value == ""){
- //this.toggle();
return true;
}
}