mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 23:12:59 +02:00
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:
committed by
Peter Müller
parent
05ce73e5b8
commit
b91a0f297a
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user