summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-02-01 15:13:54 +0100
committerSarven Capadisli <csarven@status.net>2010-02-01 15:13:54 +0100
commitd73746641b6dd17cc9037c016632be673704a10f (patch)
tree774c098126301b7e8e7b4dc4f9189395be57d437
parentd6fe865133511ac64565a583106b3233b70a0b1e (diff)
Reusing fixed selector name for 'processing' in util.js
-rw-r--r--js/util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index c12e715ce..c6a9682de 100644
--- a/js/util.js
+++ b/js/util.js
@@ -641,7 +641,7 @@ var SN = { // StatusNet
NDM.bind('click', function() {
var NDMF = $('.entity_send-a-message form');
if (NDMF.length === 0) {
- $(this).addClass('processing');
+ $(this).addClass(SN.C.S.Processing);
$.get(NDM.attr('href'), null, function(data) {
$('.entity_send-a-message').append(document._importNode($('form', data)[0], true));
NDMF = $('.entity_send-a-message .form_notice');
@@ -652,7 +652,7 @@ var SN = { // StatusNet
NDMF.hide();
return false;
});
- NDM.removeClass('processing');
+ NDM.removeClass(SN.C.S.Processing);
});
}
else {