mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 12:37:58 +01:00
Filter dead documents when processing hits.
--HG-- extra : rebase_source : e8ad12675d578d593312f2078e727c08d34a7e81
This commit is contained in:
@@ -54,6 +54,11 @@ var HintSession = Class("HintSession", CommandMode, {
|
|||||||
this.checkUnique();
|
this.checkUnique();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
get docs() this._docs = this._docs.filter(({ doc }) => !Cu.isDeadWrapper(doc)),
|
||||||
|
set docs(docs) {
|
||||||
|
this._docs = docs;
|
||||||
|
},
|
||||||
|
|
||||||
Hint: {
|
Hint: {
|
||||||
get active() this._active,
|
get active() this._active,
|
||||||
set active(val) {
|
set active(val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user