forked from GNUsocial/gnu-social
Trim whitespace from label's textContent
This commit is contained in:
parent
9f9dcd2bf5
commit
d1998adb13
@ -447,7 +447,7 @@ var SN = { // StatusNet
|
||||
var NLE = $('#notice_data-location_wrap');
|
||||
var geocodeURL = NLE.attr('title');
|
||||
|
||||
$('label[for='+SN.C.S.NoticeDataGeo+']').attr('title', NLE.text());
|
||||
$('label[for='+SN.C.S.NoticeDataGeo+']').attr('title', jQuery.trim($('label[for='+SN.C.S.NoticeDataGeo+']').text()));
|
||||
|
||||
if (navigator.geolocation) {
|
||||
NDG.change(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user