mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Fixed the example for collapsing comments in Hacker News
Hacker News added an additional class which prevented the hint from matching correctly. By matching on any of the classes this is fixed.
This commit is contained in:
parent
608744bc36
commit
82581699ba
1 changed files with 1 additions and 1 deletions
|
@ -5123,7 +5123,7 @@ const KILL_STACK: Element[] = []
|
||||||
|
|
||||||
Element selection flags:
|
Element selection flags:
|
||||||
- -c [selector] hint links that match the css selector
|
- -c [selector] hint links that match the css selector
|
||||||
- `bind ;c hint -c [class*="expand"],[class="togg"]` works particularly well on reddit and HN
|
- `bind ;c hint -c [class*="expand"],[class*="togg"]` works particularly well on reddit and HN
|
||||||
- this works with most other hint modes, with the caveat that if other hint mode takes arguments your selector must contain no spaces, i.e. `hint -c[yourOtherFlag] [selector] [your other flag's arguments, which may contain spaces]`
|
- this works with most other hint modes, with the caveat that if other hint mode takes arguments your selector must contain no spaces, i.e. `hint -c[yourOtherFlag] [selector] [your other flag's arguments, which may contain spaces]`
|
||||||
- -x [selector] exclude the matched elements from hinting
|
- -x [selector] exclude the matched elements from hinting
|
||||||
- -f [text] hint links and inputs that display the given text
|
- -f [text] hint links and inputs that display the given text
|
||||||
|
|
Loading…
Add table
Reference in a new issue