Merge pull request #133 from usk/follow-some-buttons-on-mobile.twitter.com

add support for following some buttons on mobile.twitter.com
This commit is contained in:
Shin'ya Ueoka 2017-11-18 22:13:46 +09:00 committed by GitHub
commit 7803739227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(',');