diff options
Diffstat (limited to 'app/assets/javascripts/copy_to_clipboard.js')
-rw-r--r-- | app/assets/javascripts/copy_to_clipboard.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/app/assets/javascripts/copy_to_clipboard.js b/app/assets/javascripts/copy_to_clipboard.js index 3b79331ac6e..c43af17442b 100644 --- a/app/assets/javascripts/copy_to_clipboard.js +++ b/app/assets/javascripts/copy_to_clipboard.js @@ -35,11 +35,9 @@ $(function() { var clipboard; - if ($('body').attr('data-page') !== 'projects:boards:show') { - clipboard = new Clipboard('[data-clipboard-target], [data-clipboard-text]'); - clipboard.on('success', genericSuccess); - return clipboard.on('error', genericError); - } + clipboard = new Clipboard('[data-clipboard-target], [data-clipboard-text]'); + clipboard.on('success', genericSuccess); + return clipboard.on('error', genericError); }); }).call(this); |