Skip to content

Commit bea99a5

Browse files
authored
copy_path -> window.copy_path + add semicolon
1 parent c4fe7c4 commit bea99a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ function hideThemeButtonState() {
14931493
(function () {
14941494
var reset_button_timeout = null;
14951495

1496-
function copy_path(but) {
1496+
window.copy_path = function(but) {
14971497
var parent = but.parentElement;
14981498
var path = [];
14991499

@@ -1527,5 +1527,5 @@ function hideThemeButtonState() {
15271527
}
15281528

15291529
reset_button_timeout = window.setTimeout(reset_button, 1000);
1530-
}
1530+
};
15311531
}());

0 commit comments

Comments
 (0)