diff options
| author | r00ster <r00ster91@protonmail.com> | 2021-04-30 12:06:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 12:06:15 +0200 |
| commit | bea99a5da6acaa30cf27cd8d6268527ff24ee77e (patch) | |
| tree | 293394cf7320ce825ac5f2f38a5f774342829a0f /src/librustdoc/html | |
| parent | c4fe7c4a309f4403e42f11edc08a3bfac53dfce1 (diff) | |
| download | rust-bea99a5da6acaa30cf27cd8d6268527ff24ee77e.tar.gz rust-bea99a5da6acaa30cf27cd8d6268527ff24ee77e.zip | |
`copy_path` -> `window.copy_path` + add semicolon
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/static/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index ed590e17af0..e81eaca8f0e 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -1493,7 +1493,7 @@ function hideThemeButtonState() { (function () { var reset_button_timeout = null; - function copy_path(but) { + window.copy_path = function(but) { var parent = but.parentElement; var path = []; @@ -1527,5 +1527,5 @@ function hideThemeButtonState() { } reset_button_timeout = window.setTimeout(reset_button, 1000); - } + }; }()); |
