summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthewM <mcm@they-got.us>2012-12-20 23:48:20 -0500
committerMatthewM <mcm@they-got.us>2012-12-20 23:48:20 -0500
commit503bda5b2879309586f32ce39c57e2aafd6ca9e1 (patch)
tree1faf214660f1835bfa9aa41d63430c0189dd3166 /modules
parenta4d5c40d6365806efd8beea089562b79102f4b5a (diff)
Move the var to set the time out into the same javascript tag that is used for the modal as it's related
Diffstat (limited to 'modules')
-rw-r--r--modules/extra/webcpanel/templates/default/header.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/extra/webcpanel/templates/default/header.html b/modules/extra/webcpanel/templates/default/header.html
index 15148838a..fc13a97d2 100644
--- a/modules/extra/webcpanel/templates/default/header.html
+++ b/modules/extra/webcpanel/templates/default/header.html
@@ -4,11 +4,10 @@
<link href="/static/style.css" media="screen" rel="stylesheet" type="text/css" />
<title>{TITLE}</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- var t=5000; // Time in ms to display an overlay if one will be displayed
- </script>
{IF EXISTS CMDR}
<script type="text/javascript">
+ var t=5000; // Time in ms to display an overlay if one will be displayed
+
$(document).ready(function() \{
/*Modal*/