From 30fd4794e9b56bd79c957b432d222a759d175b68 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Tue, 10 Jun 2014 16:59:45 +0200 Subject: [PATCH] Do not automatically switch to newly open buffer. Fixes #279 --- js/glowingbear.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/glowingbear.js b/js/glowingbear.js index 4e58b83..43f100f 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -86,7 +86,10 @@ weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', function var bufferMessage = message.objects[0].content[0]; var buffer = new models.Buffer(bufferMessage); models.addBuffer(buffer); + /* Until we can decide if user asked for this buffer to be opened + * or not we will let user click opened buffers. models.setActiveBuffer(buffer.id); + */ }; var handleBufferTitleChanged = function(message) {