summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/master.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui_templates/master.tmpl b/webui_templates/master.tmpl
index b2ca90ae..db71f876 100644
--- a/webui_templates/master.tmpl
+++ b/webui_templates/master.tmpl
@@ -13,7 +13,7 @@
</head>
-<body onload="page_onload();">
+<body onload="if (window.page_onload) { page_onload(); }">
<div id="wrap">
<h1 id="masthead">