Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Merge branch '1.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
prytoegrian committed Jun 13, 2017
2 parents 1a09476 + d964022 commit a2087ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Public/Assets/Js/reboot.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ function compter_jours()
*
* @param object opts
*/
function generateDatePicker(opts, compter = true)
function generateDatePicker(opts, compter)
{
var compter = (typeof compter !== 'undefined') ? compter : true;
var defaultOpts = {
format : 'dd/mm/yyyy',
language : 'fr',
Expand All @@ -95,7 +96,7 @@ function generateDatePicker(opts, compter = true)
}
$(document).ready(function () {
$('input.date').datepicker(toApply).on("change", function() {
if( compter == true) {
if(compter == true) {
compter_jours();
}
});
Expand Down

0 comments on commit a2087ec

Please sign in to comment.