Skip to content

Commit 0478329

Browse files
authored
Revert "add pathname to show-dashboard button link (#786)" (#798)
This reverts commit 4741673.
1 parent 4741673 commit 0478329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodes/ui_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@
11641164
// Link out to dashboard
11651165
$.getJSON('uisettings',function(data) {
11661166
if (data.hasOwnProperty("path")) { uip = data.path; }
1167-
var lnk = document.location.host+document.location.pathname+RED.settings.httpNodeRoot+"/"+uip;
1167+
var lnk = document.location.host+RED.settings.httpNodeRoot+"/"+uip;
11681168
var re = new RegExp('\/{1,}','g');
11691169
lnk = lnk.replace(re,'/');
11701170
if (!RED.hasOwnProperty("actions")) {

0 commit comments

Comments
 (0)