]> _ Git - fluidbook-html5.git/commitdiff
Merge remote-tracking branch 'origin/master' into 3dflip
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 22 Aug 2018 14:59:08 +0000 (16:59 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 22 Aug 2018 14:59:08 +0000 (16:59 +0200)
1  2 
js/libs/fluidbook/fluidbook.js

index c83e96d879f764a11e57e1666a685ddd1761a768,c704aa3252dd2c1fbcf398e3e82aacc7c1efae45..fced84d68fa3d163fa72b0b6a668059e36d93fc8
@@@ -108,10 -101,13 +108,13 @@@ Fluidbook.prototype = 
  
          this.initTheme();
          this.initKeyboardShortcuts();
 +        this.initLoading();
      },
  
-     setMaxPage: function (p) {
+     setMaxPage: function (p, allowbackwards) {
+         if (allowbackwards === undefined) {
+             allowbackwards = false;
+         }
          if (p === undefined || p <= 0) {
              p = this.datas.pages;
          }