diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js index 226fdb102..020031422 100644 --- a/js/util.js +++ b/js/util.js @@ -446,13 +446,12 @@ var SN = { // StatusNet if (NDG.length > 0) { var NLE = $('#notice_data-location_wrap'); var geocodeURL = NLE.attr('title'); + NLE.removeAttr('title'); $('label[for='+SN.C.S.NoticeDataGeo+']').attr('title', jQuery.trim($('label[for='+SN.C.S.NoticeDataGeo+']').text())); if (navigator.geolocation) { NDG.change(function() { - NLE.removeAttr('title'); - $.cookie(SN.C.S.NoticeLocationCookieName, $('#'+SN.C.S.NoticeDataGeo).attr('checked')); var NLN = $('#'+SN.C.S.NoticeLocationName); |