mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +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.render();
|
||||
|
||||
// Trigger documentLoaded event
|
||||
this.container.trigger("documentLoaded");
|
||||
},
|
||||
find_pages : function() {
|
||||
var new_pages = new Array();
|
||||
@ -215,9 +212,6 @@ var pdf2htmlEX = (function(){
|
||||
_.pages[idx].rescale(_.scale);
|
||||
_.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
|
||||
$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.loaded) {
|
||||
p.show();
|
||||
this.container.trigger("pageShown", i);
|
||||
} else
|
||||
this.load_page(p.n);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user