mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-17 23:16:03 +00:00
Removing blocking context menu, copy-paste in console changed from ctrl-c, ctrl-v, to ctrl-shift-c, ctrl-shift-v
This commit is contained in:
parent
4261086495
commit
62c1f8b003
@ -71,7 +71,7 @@ export class WebConsoleComponent implements OnInit, AfterViewInit {
|
||||
|
||||
this.term.attachCustomKeyEventHandler((key: KeyboardEvent) => {
|
||||
if (key.code === 'KeyC' || key.code === 'KeyV') {
|
||||
if (key.ctrlKey) {
|
||||
if (key.ctrlKey && key.shiftKey) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
</script>
|
||||
</head>
|
||||
<!-- <body class="mat-app-background" oncontextmenu="return false;"> -->
|
||||
<body class="mat-app-background" oncontextmenu="return false;">
|
||||
<body class="mat-app-background">
|
||||
<app-root></app-root>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5D6FZL9923"></script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user