From: Sarven Capadisli Date: Sun, 3 Jan 2010 01:17:51 +0000 (+0000) Subject: Reset location icon when container button.close is clicked X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4983564949ff13f063bb833877b36fdb7a352014;p=quix0rs-gnu-social.git Reset location icon when container button.close is clicked --- diff --git a/js/util.js b/js/util.js index 7354a24ca5..35530d7458 100644 --- a/js/util.js +++ b/js/util.js @@ -460,6 +460,7 @@ var SN = { // StatusNet $('#'+SN.C.S.NoticeDataGeoSelected+' button.close').click(function(){ $('#'+SN.C.S.NoticeDataGeoSelected).remove(); $('#'+SN.C.S.NoticeDataGeo).attr('checked', false); + $('label[for=notice_data-geo]').removeClass('checked'); return false; });