add el_title

This commit is contained in:
Andrey Kuvshinov
2020-04-29 09:46:42 +03:00
parent ae1c448e75
commit 968ae9c036
3 changed files with 8 additions and 7 deletions

View File

@@ -12,10 +12,8 @@ document.getElementById('pdfprogress').innerHTML = 'Идет подготовк
// Asynchronous download of PDF
var loadingTask = pdfjsLib.getDocument(url);
loadingTask.promise.then(function(pdf) {
console.log('PDF loaded');
document.getElementById('pdfprogress').innerHTML = 'Загружаем pdf. Пожалуйста подождите... ...';
document.getElementById('pdfprogress').innerHTML = 'Загружаем pdf. Пожалуйста подождите...';
// Fetch the first page
pdf.getPage(pageNumber).then(function(page) {
document.getElementById('pdfprogress').innerHTML = 'Идет обработка страницы ...';