From e96bba05420a3d94aac67afbdc7e7f7fb2de2188 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Fri, 27 Nov 2009 14:42:30 +0100 Subject: Changed to bind instead of click --- js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/util.js b/js/util.js index 29c39ac74..baf5aa343 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) { -- cgit v1.2.3-54-g00ecf