Update script.js

This commit is contained in:
2019-03-28 11:21:08 -04:00
committed by GitHub
parent a54463e6e2
commit 6c591c1de6
+2 -1
View File
@@ -1,4 +1,5 @@
function changePDF(chapter) {
var container = document.getElementById("pdfcontainer")
container.innerHTML = "<embed src='https://lax18.github.io/StrayerChapters/"+chapter+".pdf' type='application/pdf' style='height:calc(100vh - 70px)' width='100%'></embed>"
}
document.getElementById("chapter_title").innerhtml = chapter
}