summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 5615a8e..de1f73c 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,13 +7,13 @@
<script src="{{ settings.MEDIA_URL }}js/jquery.js" type="text/javascript"></script>
<script src="{{ settings.MEDIA_URL }}js/jquery.quicksearch.js" type="text/javascript"></script>
<script src="{{ settings.MEDIA_URL }}js/base.js" type="text/javascript"></script>
-<script>
- contentHeight();
+<script language="javascript">
+window.onload = contentHeight;
</script>
{% block head %}{% endblock %}
</head>
-<body onLoad="contentHeight()">
+<body>
<div id="header">
<h1>CUCC Expeditions to Austria: 1976 - 2009</h1>