Reset search state when initiating jump
This commit is contained in:
parent
22cb962e63
commit
915d0d5d3e
1 changed files with 2 additions and 0 deletions
|
@ -409,6 +409,8 @@ weechat.directive('inputBar', function() {
|
|||
// Alt+J -> Jump to buffer
|
||||
if ($event.altKey && (code === 106 || code === 74)) {
|
||||
$event.preventDefault();
|
||||
// reset search state and show jump keys
|
||||
$scope.$parent.search = '';
|
||||
$rootScope.showJumpKeys = true;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue