mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-18 04:05:46 +01:00
:emenu: Hide hidden items, disable disabled items. Closes issue #582.
This commit is contained in:
@@ -338,7 +338,7 @@ var CompletionContext = Class("CompletionContext", {
|
||||
* The prototype object for items returned by {@link items}.
|
||||
*/
|
||||
get itemPrototype() {
|
||||
let res = {};
|
||||
let res = { highlight: "" };
|
||||
function result(quote) {
|
||||
yield ["result", quote ? function () quote[0] + util.trapErrors(1, quote, this.text) + quote[2]
|
||||
: function () this.text];
|
||||
|
||||
Reference in New Issue
Block a user