Skip to content

Commit

Permalink
Erase search term if manually removed
Browse files Browse the repository at this point in the history
  • Loading branch information
anantn committed May 26, 2011
1 parent 2626dc8 commit ce2d898
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/main.js
Expand Up @@ -22,8 +22,7 @@ tabs.on('activate', function(tab) {
});
tabs.on('deactivate', function(tab) {
let val = getValue();
if (!val) return;


// tab can't be a key, since keys are strings, so use two arrays
let i = searched.indexOf(tab);
if (i < 0) i = searched.length;
Expand Down
Binary file added unsearched-0.2.xpi
Binary file not shown.

0 comments on commit ce2d898

Please sign in to comment.