summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@csarven-laptop.(none)>2009-11-27 14:42:30 +0100
committerSarven Capadisli <csarven@csarven-laptop.(none)>2009-11-27 14:42:30 +0100
commite96bba05420a3d94aac67afbdc7e7f7fb2de2188 (patch)
treea7d7ba07374cc16cb69e88c3c6a228b04b21ecf5
parentc6b1ca37658e69304af059e8048cdf22db375c3c (diff)
Changed to bind instead of click
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
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) {