summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/ajax.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/ajax.js b/misc/ajax.js
index 0daa9bc4e..a87af3aa3 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);