diff options
author | Zuul <zuul@review.opendev.org> | 2023-04-24 22:32:04 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2023-04-24 22:32:04 +0000 |
commit | 49d8d0ce75dfc5e1a4d4662a5e1b6da3da2c22da (patch) | |
tree | 45a9ac1f39a940d72796095dda7ecdf51807c287 | |
parent | 01e1e4a66c3e182e471af7672ee3a0e2861063ac (diff) | |
parent | c397560d0dec8138592c1374beb69b947d47c31d (diff) | |
download | horizon-49d8d0ce75dfc5e1a4d4662a5e1b6da3da2c22da.tar.gz |
Merge "Fix "jQuery.fn.mousedown() event shorthand is deprecated" warning"
-rw-r--r-- | horizon/static/horizon/js/horizon.forms.js | 4 |
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 cacfb46d8..00e41478e 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(); }); |