]> _ Git - fluidbook-html5.git/commitdiff
wait #6308 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 27 Sep 2023 08:22:44 +0000 (10:22 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 27 Sep 2023 08:22:44 +0000 (10:22 +0200)
js/libs/fluidbook/fluidbook.networkcontrol.js

index 037882392eafe0cb2ab030c3c80062e453288998..7d33771dc91b904db863d75c86fff7a3dc38b544 100644 (file)
@@ -38,7 +38,7 @@ FluidbookNetworkControl.prototype = {
     },
 
     executeWhenNetwork: function (f, highPriority) {
-        if (this.fluidbook.shortLoading) {
+        if (this.fluidbook.shortLoading || this.fluidbook.settings.priorityToPreload) {
             f();
             return;
         }