summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-04 12:44:48 +0000
committerSarven Capadisli <csarven@status.net>2010-01-04 12:44:48 +0000
commitdcd3292f575fe5194267f353961ba20d410d2aed (patch)
tree6b73090857d251247e2a126fa0e548874313feef
parent30f58bf15f9b7e8f2a58b998937b5fd1096ee930 (diff)
Relocated @title removal
-rw-r--r--js/util.js3
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);