]> _ Git - fluidbook-html5.git/commitdiff
wait #7938 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 13 Jan 2026 15:55:25 +0000 (16:55 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 13 Jan 2026 15:55:25 +0000 (16:55 +0100)
js/libs/fluidbook/fluidbook.contentlock.js

index df4936817f52cb162a56dc947e386461a7245d8d..67526cad11c7bff47745c27f90e42c46acd17454 100644 (file)
@@ -25,6 +25,12 @@ FluidbookContentLock.prototype = {
         if (this.maxPage <= 0) {
             this.maxPage = this.fluidbook.settings.pages;
         }
+
+        $.each(this.locks, function (k, v) {
+            if (k < $this.maxPage) {
+                $this.locks[k].unlocked = 1;
+            }
+        });
     },
 
     reset: function () {