Skip to content
Snippets Groups Projects
Verified Commit 512f8064 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Fix JavaScript error on packages overview page

parent 959e5351
No related branches found
No related tags found
1 merge request!94Add archweb typeahead implementation
......@@ -49,6 +49,11 @@ html_header($title, $details);
<script type="text/javascript">
function collapseDependsList(list) {
list = document.getElementById(list);
// Packages overview page also triggers collapseDependsList, ideally the Javascript
// is only included for the package details view.
if (!list) {
return;
}
// Hide everything past a given limit. Don't do anything if we don't have
// enough items, or the link already exists.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment