Verified Commit 512f8064 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Fix JavaScript error on packages overview page

parent 959e5351
......@@ -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) {
// Hide everything past a given limit. Don't do anything if we don't have
// enough items, or the link already exists.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment