summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-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) {