diff --git a/views/default3.handlebars b/views/default3.handlebars index b67679f2..9f6826ff 100644 --- a/views/default3.handlebars +++ b/views/default3.handlebars @@ -4533,7 +4533,7 @@ var foundNode = null; if (nodes != null) { for (var i in nodes) { if (nodes[i].rname == args.gotodevicername) { foundNode = nodes[i]._id; } } } if (foundNode) { gotoDevice(foundNode, xviewmode); goBackStack.push(1); } - else if (args.gotodeviceip != null) { + } else if (args.gotodeviceip != null) { var foundNode = null; if (nodes != null) { for (var i in nodes) { if (nodes[i].ip == args.gotodeviceip) { foundNode = nodes[i]._id; } } } if (foundNode) { gotoDevice(foundNode, xviewmode); goBackStack.push(1); }