@internetarchive/bookreader 5.0.0-52-alpha1 → 5.0.0-52
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/BookReader.js
CHANGED
@@ -1367,7 +1367,6 @@ BookReader.prototype.scrollDown = function() {
|
|
1367
1367
|
if ($.inArray(this.mode, [this.constMode1up, this.constModeThumb]) >= 0) {
|
1368
1368
|
if ( this.mode == this.constMode1up && (this.reduce >= this.onePageGetAutofitHeight()) ) {
|
1369
1369
|
// Whole pages are visible, scroll whole page only
|
1370
|
-
this.trigger('pageChanged');
|
1371
1370
|
return this.next();
|
1372
1371
|
}
|
1373
1372
|
|
@@ -1388,7 +1387,6 @@ BookReader.prototype.scrollUp = function() {
|
|
1388
1387
|
if ($.inArray(this.mode, [this.constMode1up, this.constModeThumb]) >= 0) {
|
1389
1388
|
if ( this.mode == this.constMode1up && (this.reduce >= this.onePageGetAutofitHeight()) ) {
|
1390
1389
|
// Whole pages are visible, scroll whole page only
|
1391
|
-
this.trigger('pageChanged');
|
1392
1390
|
return this.prev();
|
1393
1391
|
}
|
1394
1392
|
|
@@ -1638,10 +1636,6 @@ BookReader.prototype.bindNavigationHandlers = function() {
|
|
1638
1636
|
);
|
1639
1637
|
|
1640
1638
|
this.bindMozTouchHandlers();
|
1641
|
-
|
1642
|
-
$(document).on('BookReader:pageChanged', () => {
|
1643
|
-
console.log('here');
|
1644
|
-
})
|
1645
1639
|
};
|
1646
1640
|
|
1647
1641
|
/**
|
File without changes
|