Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5a6f7ed

Browse files
authoredJan 19, 2018
Merge pull request #120 from jose-oc/patch-1
Undo PR#106
2 parents 5f4eab7 + 1a82e59 commit 5a6f7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎static/js/docdock.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jQuery(document).ready(function() {
186186
clipInit = true;
187187
}
188188

189-
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>');
189+
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>');
190190
code.next('.copy-to-clipboard').on('mouseleave', function() {
191191
$(this).attr('aria-label', null).removeClass('tooltipped tooltipped-s tooltipped-w');
192192
});

0 commit comments

Comments
 (0)
Please sign in to comment.