]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Reusing fixed selector name for 'processing' in util.js
authorSarven Capadisli <csarven@status.net>
Mon, 1 Feb 2010 14:13:54 +0000 (15:13 +0100)
committerSarven Capadisli <csarven@status.net>
Mon, 1 Feb 2010 14:13:54 +0000 (15:13 +0100)
js/util.js

index c12e715ce793f4efac186fbf57757fa2ef826102..c6a9682de23782427b46f45d3e604890aa405df6 100644 (file)
@@ -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 {