update tangle js
authorAnthony Ly <anthonyly.com@gmail.com>
Fri, 31 May 2013 17:56:57 +0200
changeset 63 55b26d1c32ef
parent 62 42919bf5d4e1
child 64 0e030a8977ed
update tangle js
integration/js/tangle.js
--- a/integration/js/tangle.js	Fri May 31 17:32:56 2013 +0200
+++ b/integration/js/tangle.js	Fri May 31 17:56:57 2013 +0200
@@ -54,7 +54,7 @@
     }
 
     function updateChapterDuration(val, chapterBefore, chapterAfter){
-        if (val<chapterAfter.end && val>chapterBefore.begin) {
+        if (val<=chapterAfter.end && val>=chapterBefore.begin) {
             chapterAfter.setBegin(val);
             chapterBefore.setEnd(val);