[Web UI] Working shortcut A for amp plugin

This commit is contained in:
Nicolas Hart
2016-05-03 22:41:18 +02:00
parent 3e423acb0f
commit fcd6157aae
2 changed files with 3 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ glancesApp.controller('statsController', function ($scope, $rootScope, $interval
$scope.sorter.auto = true;
break;
case $event.shiftKey && $event.keyCode == keycodes.A:
// D => Enable/disable AMPs
// A => Enable/disable AMPs
$scope.arguments.disable_amps = !$scope.arguments.disable_amps;
break;
case !$event.shiftKey && $event.keyCode == keycodes.c:

View File

@@ -28,5 +28,6 @@ var keycodes = {
'F' : '70',
'g' : '71',
'r' : '82',
'q' : '81'
'q' : '81',
'A' : '65'
}