]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Changed to bind instead of click
authorSarven Capadisli <csarven@csarven-laptop.(none)>
Fri, 27 Nov 2009 13:42:30 +0000 (14:42 +0100)
committerSarven Capadisli <csarven@csarven-laptop.(none)>
Fri, 27 Nov 2009 13:42:30 +0000 (14:42 +0100)
js/util.js

index 29c39ac74df977552d171229feeafd9b2f61345d..baf5aa3438b11d239a4f9c246ab924912e335dc1 100644 (file)
@@ -365,7 +365,7 @@ var SN = { // StatusNet
         NewDirectMessage: function() {
             NDM = $('.entity_send-a-message a');
             NDM.attr({'href':NDM.attr('href')+'&ajax=1'});
-            NDM.click(function() {
+            NDM.bind('click', function() {
                 var NDMF = $('.entity_send-a-message form');
                 if (NDMF.length === 0) {
                     $.get(NDM.attr('href'), null, function(data) {