get rid of spinner.js in use a lightweight css spinner instead

This commit is contained in:
Mario Vavti
2017-09-26 13:02:11 +02:00
parent 741af8c164
commit ea5262a0df
22 changed files with 175 additions and 558 deletions

View File

@@ -243,7 +243,7 @@
} else if (!this.isBadQuery(q)) {
me = this;
me.options.params.query = q;
$('#nav-search-spinner').spin('tiny');
$('#nav-search-spinner').show();
$.get(this.serviceUrl, me.options.params, function(txt) { me.processResponse(txt); }, 'text');
}
},
@@ -306,7 +306,7 @@
this.data = response.data;
this.suggest();
}
$('#nav-search-spinner').spin(false);
$('#nav-search-spinner').hide();
},
activate: function(index) {