Show double verses at the end of songs in stageview

Fixes: https://launchpad.net/bugs/1510572
This commit is contained in:
Simon Hanna 2015-12-30 01:09:11 +01:00
parent ffbf75bb2f
commit 39e48b9fed

View File

@ -61,7 +61,7 @@ window.OpenLP = {
}
else {
if ((slide["text"] == data.results.slides[lastChange]["text"]) &&
(data.results.slides.length > idx + (idx - lastChange))) {
(data.results.slides.length >= idx + (idx - lastChange))) {
// If the tag hasn't changed, check to see if the same verse
// has been repeated consecutively. Note the verse may have been
// split over several slides, so search through. If so, repeat the tag.