diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/extra/webcpanel/templates/default/header.html | 5 |
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*/ |