Merge "Fix "jQuery.fn.mousedown() event shorthand is deprecated" warning"
This commit is contained in:
commit
49d8d0ce75
@ -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();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user