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()) {
$scope.$parent.showSidebar();
}
document.getElementById('bufferFilter').focus();
setTimeout(function() {
document.getElementById('bufferFilter').focus();
});
return true;
}