mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
commit
5e11cc4c43
1
AUTHORS
1
AUTHORS
@ -2,6 +2,7 @@ pdf2htmlEX is created and maintained by
|
|||||||
Lu Wang <coolwanglu@gmail.com>
|
Lu Wang <coolwanglu@gmail.com>
|
||||||
|
|
||||||
Contributors: (alphabetical order)
|
Contributors: (alphabetical order)
|
||||||
|
Aamir Adnan <s33k.n.d3str0y@gmail.com>
|
||||||
Chris Cinelli <chris@allestelle.com>
|
Chris Cinelli <chris@allestelle.com>
|
||||||
Daniel Bonniot de Ruisselet <dbonniot@chemaxon.com>
|
Daniel Bonniot de Ruisselet <dbonniot@chemaxon.com>
|
||||||
Deepak <iapain@gmail.com>
|
Deepak <iapain@gmail.com>
|
||||||
|
@ -361,10 +361,13 @@ Viewer.prototype = {
|
|||||||
if (url) {
|
if (url) {
|
||||||
this.pages_loading[idx] = true; // set semaphore
|
this.pages_loading[idx] = true; // set semaphore
|
||||||
|
|
||||||
// add a copy of the loading indicator
|
// add a copy of the loading indicator if not already present
|
||||||
var new_loading_indicator = this.loading_indicator.cloneNode();
|
var new_loading_indicator = cur_page_ele.getElementsByClassName(this.config['loading_indicator_cls'])[0];
|
||||||
|
if (typeof new_loading_indicator === 'undefined'){
|
||||||
|
new_loading_indicator = this.loading_indicator.cloneNode(true);
|
||||||
new_loading_indicator.classList.add('active');
|
new_loading_indicator.classList.add('active');
|
||||||
cur_page_ele.appendChild(new_loading_indicator);
|
cur_page_ele.appendChild(new_loading_indicator);
|
||||||
|
}
|
||||||
|
|
||||||
// load data
|
// load data
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user