Browse Source

Local debugging without connect()

pull/752/head
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", "select", hasChanged);
// don't autoconnect when opening from filesystem
if (window.location.protocol === "file:") { return; }
connect();
});

Loading…
Cancel
Save