Merge "Fix "jQuery.fn.mousedown() event shorthand is deprecated" warning"

This commit is contained in:
Zuul 2023-04-24 22:32:04 +00:00 committed by Gerrit Code Review
commit 49d8d0ce75

View File

@ -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();
});