diff --git a/misc/ajax.js b/misc/ajax.js
index 0daa9bc4e65c9aef4fcd749adb55316449af343a..a87af3aa3237b8e2b6332ec8b1f8359ef8f8786f 100644
--- a/misc/ajax.js
+++ b/misc/ajax.js
@@ -41,6 +41,7 @@ Drupal.behaviors.AJAX = {
       // than the usual location.
       if ($(this).attr('href')) {
         element_settings.url = $(this).attr('href');
+        element_settings.event = 'click';
       }
       var base = $(this).attr('id');
       Drupal.ajax[base] = new Drupal.ajax(base, this, element_settings);