apply-exception in inputbar/bufferFilter.focus

This commit is contained in:
Ailin Nemui 2014-09-20 06:02:12 +02:00
parent 933af6a983
commit 081c141760

View file

@ -243,7 +243,9 @@ weechat.directive('inputBar', function() {
if (!$scope.$parent.isSidebarVisible()) { if (!$scope.$parent.isSidebarVisible()) {
$scope.$parent.showSidebar(); $scope.$parent.showSidebar();
} }
setTimeout(function() {
document.getElementById('bufferFilter').focus(); document.getElementById('bufferFilter').focus();
});
return true; return true;
} }