Gogeta05 / Freezer

0 stars 0 forks source link

enable/disable locationTracking #27

Closed YtGz closed 9 years ago

YtGz commented 9 years ago

if(lt_enabled) { document.write('<script type="text/javascript" src="'@routes.Assets.at("javascripts/locationTracker.js")'">'); }

-> easier than AJAX, but has to be executed before window.onload(): -> maybe rebuild the page after turning on/off?

MasterMoritz commented 9 years ago

i think we won't have to enable/disable it manually, the browser/smartphone asks the user anyway (afaik the setting is saved automatically)

we don't have time for it imo

YtGz commented 9 years ago

agreed