Fixed static URL

This commit is contained in:
Jeff Parsons 2015-12-14 17:16:16 -08:00
commit e454a30bb0

View file

@ -52,7 +52,7 @@
if (i < 0) i = pdf.indexOf(' ');
if (i > 0) pdf = pdf.substr(0, i);
var setPage = function(page) {
frame.setAttribute('src', 'http://static.pcjs.org' + pdf + ' ' + curPage + '.pdf');
frame.setAttribute('src', 'http://archive.pcjs.org' + pdf + ' ' + curPage + '.pdf');
};
setPage(curPage);
var buttonPrev = document.getElementById('prevPDF');