diff --git a/js/bootstrap-datepicker.js b/js/bootstrap-datepicker.js index f17de6d1c..6fbbeb3d2 100644 --- a/js/bootstrap-datepicker.js +++ b/js/bootstrap-datepicker.js @@ -63,7 +63,7 @@ this.push.apply(this, new_array); }, clear: function(){ - this.splice(0); + this.length = 0; }, copy: function(){ var a = new DateArray();