This commit is contained in:
Ryan Carpenter
2016-08-09 20:31:43 +08:00
parent 3992a63fc0
commit 64c363d041
-1
View File
@@ -415,7 +415,6 @@ angular.module('quartermaester')
if (chapterKey=="") return -1;
if (chapterKey=="TWOW-?") return 344;
var reMatch = /(\w{4})\-(\d+)/.exec(chapterKey);
console.log("chapterKey", chapterKey, reMatch);
var precedingChapters = parseInt(qmData.bookLookup[ reMatch[1] ].precedingChapters, 10)
return precedingChapters + parseInt(reMatch[2], 10);
}