Skip to content

Commit

Permalink
Merge pull request #120 from jose-oc/patch-1
Browse files Browse the repository at this point in the history
Undo PR#106
  • Loading branch information
vjeantet authored Jan 19, 2018
2 parents 5f4eab7 + 1a82e59 commit 5a6f7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/docdock.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jQuery(document).ready(function() {
clipInit = true;
}

code.after('<span class="copy-to-clipboard" title="Copy to clipboard"><object class="clippy-icon" type="image/svg+xml" data="'+window.location.origin+'/images/clippy.svg"/></span>');
code.after('<span class="copy-to-clipboard" title="Copy to clipboard"><object class="clippy-icon" type="image/svg+xml" data="' + baseurl + '/images/clippy.svg"/></span>');
code.next('.copy-to-clipboard').on('mouseleave', function() {
$(this).attr('aria-label', null).removeClass('tooltipped tooltipped-s tooltipped-w');
});
Expand Down

0 comments on commit 5a6f7ed

Please sign in to comment.