From b598d1b8d1ba92c54b599a29bebd7ebe6fc3462c Mon Sep 17 00:00:00 2001 From: Robert Scullin Date: Fri, 19 May 2017 00:35:04 -0400 Subject: [PATCH] Make buffer search case insensitive --- js/glowingbear.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/glowingbear.js b/js/glowingbear.js index caa0e07..4a59862 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -711,7 +711,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', } } else { // filter by buffer name - return buffer.fullName.indexOf($scope.search) !== -1; + return buffer.fullName.toLowerCase().indexOf($scope.search.toLowerCase()) !== -1; } };