mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 14:14:13 +01:00
Fix error message during :sty(e|dis|t) completions.
This commit is contained in:
@@ -596,9 +596,9 @@ var Styles = Module("Styles", {
|
||||
completer: function (context, args) {
|
||||
let uris = util.visibleURIs(window.content);
|
||||
|
||||
Styles.completeSite(context, window.content, args["-group"]);
|
||||
if (cmd.filter)
|
||||
context.filters.push(function ({ sheets }) sheets.some(cmd.filter));
|
||||
Styles.completeSite(context, window.content, args["-group"]);
|
||||
},
|
||||
literal: 1,
|
||||
options: [
|
||||
|
||||
Reference in New Issue
Block a user