laurynas/jquery.bookingsTimeline — pull request #1 by hacklover (2014-09-04 07:32:58+00:00)
Title: removeBookings doesn't work, inArray is buggy

Add this function on bottom

function isInArray(value, array) {
return array.indexOf(value) > -1;
}

---

and replace
if (jQuery.inArray(bookingId, toRemove) >= 0) {

with
if (isInArray(bookingId, toRemove)) {