Skip to content

Commit

Permalink
Fix IE8 bug with Array#splice with one argument; use length= to truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
eternicode committed Jan 23, 2014
1 parent 6a32785 commit 9e48783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
this.push.apply(this, new_array);
},
clear: function(){
this.splice(0);
this.length = 0;
},
copy: function(){
var a = new DateArray();
Expand Down

0 comments on commit 9e48783

Please sign in to comment.