yotamberk / timeline-plus

Timeline - chronological visualization of your data
MIT License
137 stars 36 forks source link

Change return conditions in onUpdate #170

Closed javdome closed 5 years ago

javdome commented 5 years ago

Attemp to solve https://github.com/yotamberk/timeline-plus/issues/169

In onUpdate method I have changed the return conditions to the defined in documentation:

onUpdate: Callback function triggered when an item is about to be updated, when the user double taps an item in the Timeline. See section Editing Items for more information. Only applicable when both options selectable and editable.updateTime or editable.updateGroup are set true.

yotamberk commented 5 years ago

Awesome! Thanks for the fix!