Remove isActiveBuffer function
This commit is contained in:
parent
c0f22c4ec8
commit
02c57fef6d
1 changed files with 0 additions and 11 deletions
|
@ -213,17 +213,6 @@ weechat.factory('handlers', ['$rootScope', 'colors', 'models', 'pluginManager',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Returns whether or not this buffer is the active buffer
|
|
||||||
*/
|
|
||||||
var _isActiveBuffer = function(buffer) {
|
|
||||||
if ($rootScope.activeBuffer['id'] == buffer) {
|
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var handleBufferOpened = function(message) {
|
var handleBufferOpened = function(message) {
|
||||||
var bufferMessage = message['objects'][0]['content'][0];
|
var bufferMessage = message['objects'][0]['content'][0];
|
||||||
var buffer = new models.Buffer(bufferMessage);
|
var buffer = new models.Buffer(bufferMessage);
|
||||||
|
|
Loading…
Reference in a new issue