From d6a64b32b90cbbd71d6a63d0e3d293f0a3c6f6e0 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Tue, 25 Feb 2014 17:33:05 +0100 Subject: [PATCH] call the right scope --- js/glowingbear.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/glowingbear.js b/js/glowingbear.js index 9ef90b0..bad7b2c 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -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; }