Parcourir la source

Removed excess auto-baking on input load from URI

n1474335 il y a 7 ans
Parent
commit
d54d7011d9
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      src/web/App.js

+ 5 - 1
src/web/App.js

@@ -402,10 +402,14 @@ App.prototype.loadURIParams = function() {
 
     // Read in input data from URI params
     if (this.uriParams.input) {
+        this.autoBakePause = true;
         try {
             const inputData = Utils.fromBase64(this.uriParams.input);
             this.setInput(inputData);
-        } catch (err) {}
+        } catch (err) {
+        } finally {
+            this.autoBakePause = false;
+        }
     }
 
     this.autoBake();