Skip to content

Commit

Permalink
Undo PR#106
Browse files Browse the repository at this point in the history
Undo the change thought to fix clippy.svg location for multilanguage sites
  • Loading branch information
jose-oc authored Jan 19, 2018
1 parent 5f4eab7 commit 1a82e59
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 1a82e59

Please sign in to comment.