Commit 08e1afd7 by Van

Update elloha.js conditions

parent 980ab1dc
$(document).ready(function () {
// DatePicker
if ($('#resa_StartDate').length > 0){
$('#resa_StartDate').datepicker({ dateFormat: 'yy-mm-dd' });
$('#resa_EndDate').datepicker({ dateFormat: 'yy-mm-dd' });
setAdultNumber();
}
if ($('#resa_EndDate').length > 0){
$('#resa_EndDate').datepicker({ dateFormat: 'yy-mm-dd' });
}
if ($('.choosen').length > 0){
$(".choosen").chosen();
}
/**
* Set min adultNumber at 1
......@@ -18,5 +22,4 @@ $(document).ready(function () {
$('#resa_AdultNumber').val(1);
}
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment