summaryrefslogtreecommitdiff
path: root/horizon/static/horizon/js/horizon.forms.js
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/static/horizon/js/horizon.forms.js')
-rw-r--r--horizon/static/horizon/js/horizon.forms.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/horizon/static/horizon/js/horizon.forms.js b/horizon/static/horizon/js/horizon.forms.js
index 8fff1d0f5..5806ba6e4 100644
--- a/horizon/static/horizon/js/horizon.forms.js
+++ b/horizon/static/horizon/js/horizon.forms.js
@@ -168,11 +168,11 @@ horizon.forms = {
endDate.hide();
}).data('datepicker');
- $("#id_start").mousedown(function(){
+ $("#id_start").on("mousedown", function() {
endDate.hide();
});
- $("#id_end").mousedown(function(){
+ $("#id_end").on("mousedown", function() {
startDate.hide();
});