Просмотр исходного кода

Fix GUI documentation URLs (issue #140)

dds
PaulStoffregen 10 лет назад
Родитель
Сommit
564b2eb8fa
1 измененных файлов: 4 добавлений и 2 удалений
  1. +4
    -2
      gui/red/nodes.js

+ 4
- 2
gui/red/nodes.js Просмотреть файл

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);
// 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) { function addNode(n) {
if (n._def.category == "config") { if (n._def.category == "config") {

Загрузка…
Отмена
Сохранить