diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-11-29 00:37:10 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-11-29 00:38:35 +0300 |
commit | 57fb038a824f73a8d075a8097a4fc24acbabfc2b (patch) | |
tree | 8c8b51de2febef5c611de4a741932ab8117db3e7 /app/assets | |
parent | 2e5ce7e60f16c2e49178442ea065f5154b265d52 (diff) |
clarify safari browser support
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/behaviors/copy_to_clipboard.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/behaviors/copy_to_clipboard.js b/app/assets/javascripts/behaviors/copy_to_clipboard.js index e61745c3be2..cdea625fc8c 100644 --- a/app/assets/javascripts/behaviors/copy_to_clipboard.js +++ b/app/assets/javascripts/behaviors/copy_to_clipboard.js @@ -21,10 +21,10 @@ function genericSuccess(e) { $(e.trigger).blur(); } -// Safari doesn't support `execCommand`, so instead we inform the user to -// copy manually. -// -// See http://clipboardjs.com/#browser-support +/** + * Safari > 10 doesn't support `execCommand`, so instead we inform the user to copy manually. + * See http://clipboardjs.com/#browser-support + */ function genericError(e) { let key; if (/Mac/i.test(navigator.userAgent)) { |