diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-01 20:53:25 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-01 20:53:25 +0100 |
commit | b1367ae8da8e67686f38c99b66c25fa049dbfba3 (patch) | |
tree | 1fbf7bd001f50a13fb7d6bdb37ad1a8923197e18 /js | |
parent | 1793cec8a56cff4b867d1c1de989e342ca53bd74 (diff) |
Updated button.close styles
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/util.js b/js/util.js index c5d03ce11..210459844 100644 --- a/js/util.js +++ b/js/util.js @@ -310,7 +310,7 @@ var SN = { // StatusNet imgLoading : $('address .url')[0].href+'theme/base/images/illustrations/illu_progress_loading-01.gif', bgClickToClose : true, success : function() { - $('#jOverlayContent').append('<button>×</button>'); + $('#jOverlayContent').append('<button class="close">×</button>'); $('#jOverlayContent button').click($.closeOverlay); }, timeout : 0, @@ -352,7 +352,7 @@ var SN = { // StatusNet NoticeDataAttach: function() { NDA = $('#'+SN.C.S.NoticeDataAttach); NDA.change(function() { - S = '<div id="'+SN.C.S.NoticeDataAttachSelected+'" class="'+SN.C.S.Success+'"><code>'+$(this).val()+'</code> <button>×</button></div>'; + S = '<div id="'+SN.C.S.NoticeDataAttachSelected+'" class="'+SN.C.S.Success+'"><code>'+$(this).val()+'</code> <button class="close">×</button></div>'; NDAS = $('#'+SN.C.S.NoticeDataAttachSelected); (NDAS.length > 0) ? NDAS.replaceWith(S) : $('#'+SN.C.S.FormNotice).append(S); $('#'+SN.C.S.NoticeDataAttachSelected+' button').click(function(){ @@ -372,7 +372,7 @@ var SN = { // StatusNet $('.entity_send-a-message').append(document._importNode($('form', data).get(0), true)); NDMF = $('.entity_send-a-message .form_notice'); SN.U.FormNoticeEnhancements(NDMF); - NDMF.append('<button>×</button>'); + NDMF.append('<button class="close">×</button>'); $('.entity_send-a-message button').click(function(){ NDMF.hide(); return false; |