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

add support for following some buttons on mobile.twitter.com
jh-changes
Shin'ya Ueoka 7 years ago committed by GitHub
commit 7803739227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/content/components/common/follow.js

@ -4,7 +4,8 @@ import * as dom from 'shared/utils/dom';
const TARGET_SELECTOR = [ const TARGET_SELECTOR = [
'a', 'button', 'input', 'textarea', 'area', 'a', 'button', 'input', 'textarea', 'area',
'[contenteditable=true]', '[contenteditable=""]', '[tabindex]' '[contenteditable=true]', '[contenteditable=""]', '[tabindex]',
'[role="button"]'
].join(','); ].join(',');