diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 6 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/images/spinner-black.gif | bin | 0 -> 1849 bytes | |||
-rw-r--r-- | web/cobrands/fixmystreet/images/spinner-yellow.gif | bin | 0 -> 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 Binary files differnew file mode 100644 index 000000000..763c98d35 --- /dev/null +++ b/web/cobrands/fixmystreet/images/spinner-black.gif diff --git a/web/cobrands/fixmystreet/images/spinner-yellow.gif b/web/cobrands/fixmystreet/images/spinner-yellow.gif Binary files differnew file mode 100644 index 000000000..56eed1541 --- /dev/null +++ b/web/cobrands/fixmystreet/images/spinner-yellow.gif |