From 6f7e61d42ae93073d41c2e5e4833a783bdf8f699 Mon Sep 17 00:00:00 2001 From: git-marijus Date: Sat, 13 Jul 2013 18:28:26 +0200 Subject: port to spin.js --- library/jquery_ac/friendica.complete.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/jquery_ac/friendica.complete.js b/library/jquery_ac/friendica.complete.js index c8a28c0a7..b73598575 100644 --- a/library/jquery_ac/friendica.complete.js +++ b/library/jquery_ac/friendica.complete.js @@ -242,7 +242,7 @@ } else if (!this.isBadQuery(q)) { me = this; me.options.params.query = q; - $('#nav-search-spinner').show(); + $('#nav-search-spinner').spin('tiny'); $.get(this.serviceUrl, me.options.params, function(txt) { me.processResponse(txt); }, 'text'); } }, @@ -305,7 +305,7 @@ this.data = response.data; this.suggest(); } - $('#nav-search-spinner').hide(); + $('#nav-search-spinner').spin(false); }, activate: function(index) { -- cgit v1.2.3