Pārlūkot izejas kodu

Fix GUI documentation URLs (issue #140)

dds
PaulStoffregen pirms 9 gadiem
vecāks
revīzija
564b2eb8fa
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +4
    -2
      gui/red/nodes.js

+ 4
- 2
gui/red/nodes.js Parādīt failu

@@ -90,8 +90,10 @@ RED.nodes = (function() {
return node_defs[type];
}
function selectNode(name) {
// window.history.pushState(null, null, window.location.protocol + "//"
// + window.location.host + window.location.pathname + '?info=' + name);
// on Chrome this causes "Uncaught SecurityError" when used from file:
// but other than errors in the console, doesn't seem to harm anything
window.history.pushState(null, null, window.location.protocol + "//"
+ window.location.host + window.location.pathname + '?info=' + name);
}
function addNode(n) {
if (n._def.category == "config") {

Notiek ielāde…
Atcelt
Saglabāt