]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Relocated @title removal
authorSarven Capadisli <csarven@status.net>
Mon, 4 Jan 2010 12:44:48 +0000 (12:44 +0000)
committerSarven Capadisli <csarven@status.net>
Mon, 4 Jan 2010 12:44:48 +0000 (12:44 +0000)
js/util.js

index 226fdb102c9a0057316d21337eb0d7cc36f77819..0200314224ce1c27d22509d439697f948a435c1a 100644 (file)
@@ -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);