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