Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Morris
aurweb
Commits
512f8064
Verified
Commit
512f8064
authored
Jun 22, 2021
by
Jelle van der Waa
🚧
Browse files
Fix JavaScript error on packages overview page
parent
959e5351
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/html/packages.php
View file @
512f8064
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment