From: Sarven Capadisli Date: Mon, 4 Jan 2010 12:44:48 +0000 (+0000) Subject: Relocated @title removal X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dcd3292f575fe5194267f353961ba20d410d2aed;p=quix0rs-gnu-social.git Relocated @title removal --- diff --git a/js/util.js b/js/util.js index 226fdb102c..0200314224 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);