Bläddra i källkod

Fix javascript errors with Chrome (thanks HWGuy)

dds
PaulStoffregen 10 år sedan
förälder
incheckning
652994b05b
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. +2
    -2
      gui/red/nodes.js
  2. +1
    -1
      gui/red/ui/library.js

+ 2
- 2
gui/red/nodes.js Visa fil

return node_defs[type]; return node_defs[type];
} }
function selectNode(name) { function selectNode(name) {
window.history.pushState(null, null, window.location.protocol + "//"
+ window.location.host + window.location.pathname + '?info=' + name);
// window.history.pushState(null, null, window.location.protocol + "//"
// + window.location.host + window.location.pathname + '?info=' + name);
} }
function addNode(n) { function addNode(n) {
if (n._def.category == "config") { if (n._def.category == "config") {

+ 1
- 1
gui/red/ui/library.js Visa fil

$("#flow-menu-parent>ul").replaceWith(menu); $("#flow-menu-parent>ul").replaceWith(menu);
}); });
} }
loadFlowLibrary();
//loadFlowLibrary();





Laddar…
Avbryt
Spara