call the right scope

This commit is contained in:
Tor Hveem 2014-02-25 17:33:05 +01:00
parent 67d1e40013
commit d6a64b32b9

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