call the right scope
This commit is contained in:
parent
67d1e40013
commit
d6a64b32b9
|
@ -1118,7 +1118,7 @@ weechat.directive('inputBar', function() {
|
|||
// Alt+A -> switch to buffer with activity
|
||||
if ($event.altKey && (code === 97 || code === 65)) {
|
||||
$event.preventDefault();
|
||||
$scope.switchToActivityBuffer();
|
||||
$rootScope.switchToActivityBuffer();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue