After I installed this module as well as device geolocation, my website throws error on IE 8: console is undefined.
please see the screenshot for the error.

I used the following turn around on line 95 of smart_ip/modules/device_geolocation/js/geolocation.js:

if(window.console){
    console.log('Geocoder failed due to: ' + status);                
}

Comments

chris.jichen’s picture

I have created a patch for fixing this issue.

Please let me know if you have any question.

Thanks

G

arpeggio’s picture

Status: Active » Fixed

Hi Chris, I have already applied your patch. Thank you for sharing it.

birdsnbees’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.