diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-18 22:13:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 22:13:46 +0900 |
commit | 780373922711eba64745f0f3c1d217349a49263e (patch) | |
tree | 4950299850e9b70bcab48cdb9c414d46a1a39aa0 /src/content/components | |
parent | af3a2cbf30f6aa6bc8a1d0d338f8660ae9f96ea9 (diff) | |
parent | 764d7a34bda121f97e947861c41722a12af37b15 (diff) |
Merge pull request #133 from usk/follow-some-buttons-on-mobile.twitter.com
add support for following some buttons on mobile.twitter.com
Diffstat (limited to 'src/content/components')
-rw-r--r-- | src/content/components/common/follow.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/components/common/follow.js b/src/content/components/common/follow.js index 7a35105..7717154 100644 --- a/src/content/components/common/follow.js +++ b/src/content/components/common/follow.js @@ -4,7 +4,8 @@ import * as dom from 'shared/utils/dom'; const TARGET_SELECTOR = [ 'a', 'button', 'input', 'textarea', 'area', - '[contenteditable=true]', '[contenteditable=""]', '[tabindex]' + '[contenteditable=true]', '[contenteditable=""]', '[tabindex]', + '[role="button"]' ].join(','); |