Commit db61c00f authored by Troy A. Griffitts's avatar Troy A. Griffitts

Added current verse to history when navigating with main book/chapter navigation tool

parent 26575afe
......@@ -1023,7 +1023,7 @@ console.log('setShowGospelParallels: ' + value);
masterModule.getVerseKey(function(vk) {
var t = '<div class="center appText"><div class="bookButton" onclick="app.selectKey(); return false;">'+bookName+'</div> ';
for (var i = 1; i <= vk.chapterMax; ++i) {
t += '<div class="bookButton" onclick="app.setCurrentKey(\''+osisID+'.'+i+'.1\', function() { app.displayCurrentChapter(); app.popupHide(); return false; });">'+i+'</div> ';
t += '<div class="bookButton" onclick="app.historyAdd(app.getCurrentVerseKey().shortText); app.setCurrentKey(\''+osisID+'.'+i+'.1\', function() { app.displayCurrentChapter(); app.popupHide(); return false; });">'+i+'</div> ';
}
t += '</div>';
t += '<br/>';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment