Update script.js

This commit is contained in:
2019-03-28 12:09:57 -04:00
committed by GitHub
parent 4c41739165
commit 3d952a1d39
+1 -1
View File
@@ -1,5 +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_name").innerhtml = chapter
document.getElementById("chapter_name").innerHTML = chapter
}