mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
event triggering removed
This commit is contained in:
parent
51dd4fdecd
commit
25a3273bac
@ -169,9 +169,6 @@ var pdf2htmlEX = (function(){
|
|||||||
this.container.add(this.outline).on('click', '.'+CSS_CLASS_NAMES['link'], this, this.link_handler);
|
this.container.add(this.outline).on('click', '.'+CSS_CLASS_NAMES['link'], this, this.link_handler);
|
||||||
|
|
||||||
this.render();
|
this.render();
|
||||||
|
|
||||||
// Trigger documentLoaded event
|
|
||||||
this.container.trigger("documentLoaded");
|
|
||||||
},
|
},
|
||||||
find_pages : function() {
|
find_pages : function() {
|
||||||
var new_pages = new Array();
|
var new_pages = new Array();
|
||||||
@ -215,9 +212,6 @@ var pdf2htmlEX = (function(){
|
|||||||
_.pages[idx].rescale(_.scale);
|
_.pages[idx].rescale(_.scale);
|
||||||
_.schedule_render();
|
_.schedule_render();
|
||||||
|
|
||||||
// Event fired when page is loaded. Please notice that it's not necessarily rendered (see event pageShown).
|
|
||||||
_.container.trigger("pageLoaded", idx);
|
|
||||||
|
|
||||||
// disable background image dragging
|
// disable background image dragging
|
||||||
$new_pf.find('.'+CSS_CLASS_NAMES['background_image']).on('dragstart', function(e){return false;});
|
$new_pf.find('.'+CSS_CLASS_NAMES['background_image']).on('dragstart', function(e){return false;});
|
||||||
|
|
||||||
@ -270,7 +264,6 @@ var pdf2htmlEX = (function(){
|
|||||||
if(p.is_nearly_visible()){
|
if(p.is_nearly_visible()){
|
||||||
if (p.loaded) {
|
if (p.loaded) {
|
||||||
p.show();
|
p.show();
|
||||||
this.container.trigger("pageShown", i);
|
|
||||||
} else
|
} else
|
||||||
this.load_page(p.n);
|
this.load_page(p.n);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user