Skip to content

Commit

Permalink
fix windows arm terminal
Browse files Browse the repository at this point in the history
Signed-off-by: si458 <simonsmith5521@gmail.com>
  • Loading branch information
si458 committed Mar 8, 2024
1 parent 05ee40c commit fbe1445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/default.handlebars
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand Down Expand Up @@ -6287,7 +6287,7 @@

contextelement = elem;
var contextmenudiv = document.getElementById('termShellContextMenu'); // Windows options (Power Shell)
if (currentNode.agent.id > 4) { contextmenudiv = document.getElementById('termShellContextMenuLinux'); } // Non-Windows options
if (currentNode.agent.id > 4 && !isWindowsNode(currentNode)) { contextmenudiv = document.getElementById('termShellContextMenuLinux'); } // Non-Windows options
if (currentNode.agent.id == 34) { contextmenudiv = document.getElementById('termShellContextMenu2'); } // Windows MeshCentral Assistant
showContextMenuDiv(contextmenudiv, event.pageX, event.pageY);
break;
Expand Down

0 comments on commit fbe1445

Please sign in to comment.