ipfire-theme/functions.pl: Load $extrahead after jQuery

This ensures that jQuery is also available for custom javascript
added to the HTML <head> with $extrahead.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Leo-Andres Hofmann
2021-11-27 20:10:43 +01:00
committed by Peter Müller
parent 05ce73e5b8
commit b91a0f297a

View File

@@ -120,12 +120,12 @@ print <<END;
<html>
<head>
<title>$headline - $title</title>
$extrahead
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="/favicon.ico" />
<script type="text/javascript" src="/include/jquery.js"></script>
<script src="/include/rrdimage.js"></script>
$extrahead
<script type="text/javascript">
function swapVisibility(id) {
\$('#' + id).toggle();