equal
deleted
inserted
replaced
52 form.find('.end').attr('data-milliseconds',chapterData.end); |
52 form.find('.end').attr('data-milliseconds',chapterData.end); |
53 } |
53 } |
54 } |
54 } |
55 |
55 |
56 function updateChapterDuration(val, chapterBefore, chapterAfter){ |
56 function updateChapterDuration(val, chapterBefore, chapterAfter){ |
57 if (val<chapterAfter.end && val>chapterBefore.begin) { |
57 if (val<=chapterAfter.end && val>=chapterBefore.begin) { |
58 chapterAfter.setBegin(val); |
58 chapterAfter.setBegin(val); |
59 chapterBefore.setEnd(val); |
59 chapterBefore.setEnd(val); |
60 |
60 |
61 updateRenderChapter(chapterAfter); |
61 updateRenderChapter(chapterAfter); |
62 updateRenderChapter(chapterBefore); |
62 updateRenderChapter(chapterBefore); |