call the right scope

This commit is contained in:
Tor Hveem 2014-02-25 17:33:05 +01:00
parent 67d1e40013
commit d6a64b32b9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}