diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-10 16:40:14 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-10 16:40:14 +0200 |
| commit | f82b3a16d56801d7f94a0b917c2af3cca09acdd2 (patch) | |
| tree | 3136b85dbffd290973249d15bb9ac0ed461bfd91 /src/librustdoc/html/static/js/source-script.js | |
| parent | 8a2fe75d0e6e024aa434e5b9c40adb2567f362b8 (diff) | |
| download | rust-f82b3a16d56801d7f94a0b917c2af3cca09acdd2.tar.gz rust-f82b3a16d56801d7f94a0b917c2af3cca09acdd2.zip | |
Fix JS error in source code pages
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
| -rw-r--r-- | src/librustdoc/html/static/js/source-script.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/js/source-script.js b/src/librustdoc/html/static/js/source-script.js index 92ecd200081..15e3bdf47b2 100644 --- a/src/librustdoc/html/static/js/source-script.js +++ b/src/librustdoc/html/static/js/source-script.js @@ -1,5 +1,5 @@ // From rust: -/* global search, sourcesIndex */ +/* global sourcesIndex */ // Local js definitions: /* global addClass, getCurrentValue, hasClass, onEachLazy, removeClass, browserSupportsHistoryApi */ @@ -69,7 +69,6 @@ function createDirEntry(elem, parent, fullPath, currentFile, hasFoundFile) { files.appendChild(file); } } - search.fullPath = fullPath; children.appendChild(files); parent.appendChild(name); parent.appendChild(children); |
