Browse Source

Local debugging without connect()

rfm69
Maxim Prokhorov 6 years ago
parent
commit
2b1fc1f354
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      code/html/custom.js

+ 2
- 0
code/html/custom.js View File

@ -1358,6 +1358,8 @@ $(function() {
$(document).on("change", "input", hasChanged); $(document).on("change", "input", hasChanged);
$(document).on("change", "select", hasChanged); $(document).on("change", "select", hasChanged);
// don't autoconnect when opening from filesystem
if (window.location.protocol === "file:") { return; }
connect(); connect();
}); });

Loading…
Cancel
Save