From: Sarven Capadisli Date: Fri, 27 Nov 2009 13:42:30 +0000 (+0100) Subject: Changed to bind instead of click X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e96bba05420a3d94aac67afbdc7e7f7fb2de2188;p=quix0rs-gnu-social.git Changed to bind instead of click --- diff --git a/js/util.js b/js/util.js index 29c39ac74d..baf5aa3438 100644 --- a/js/util.js +++ b/js/util.js @@ -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) {