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