aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js6
-rw-r--r--web/cobrands/fixmystreet/images/spinner-black.gifbin0 -> 1849 bytes
-rw-r--r--web/cobrands/fixmystreet/images/spinner-yellow.gifbin0 -> 1849 bytes
3 files changed, 5 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index fdcbb9669..16b1b15ef 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -237,7 +237,11 @@ $(function(){
$('#geolocate_link').click(function(e) {
e.preventDefault();
// Spinny thing!
- $(this).append(' <img src="/i/flower.gif" alt="" align="bottom">');
+ if($('.mobile').length){
+ $(this).append(' <img src="/cobrands/fixmystreet/images/spinner-black.gif" alt="" align="bottom">');
+ }else{
+ $(this).append(' <img src="/cobrands/fixmystreet/images/spinner-yellow.gif" alt="" align="bottom">');
+ }
geo_position_js.getCurrentPosition(function(pos) {
$('img', this).remove();
var latitude = pos.coords.latitude;
diff --git a/web/cobrands/fixmystreet/images/spinner-black.gif b/web/cobrands/fixmystreet/images/spinner-black.gif
new file mode 100644
index 000000000..763c98d35
--- /dev/null
+++ b/web/cobrands/fixmystreet/images/spinner-black.gif
Binary files differ
diff --git a/web/cobrands/fixmystreet/images/spinner-yellow.gif b/web/cobrands/fixmystreet/images/spinner-yellow.gif
new file mode 100644
index 000000000..56eed1541
--- /dev/null
+++ b/web/cobrands/fixmystreet/images/spinner-yellow.gif
Binary files differ