Merge pull request #459 from ailin-nemui/bufferlist-focus-ex

Fix a $apply-exception in inputbar/bufferFilter.focus
rewrite-with-urlplugin
Lorenz Hübschle-Schneider 11 years ago
commit b89a17032d
  1. 4
      js/inputbar.js

@ -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;
}

Loading…
Cancel
Save