diff options
author | Simon Rettberg | 2015-11-30 13:50:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-11-30 13:50:33 +0100 |
commit | 123e2973f28dba48b0ec039887fe735d35325ee8 (patch) | |
tree | c9790aa75ff345e3b6ddc5e8b90ad212f9f3cad7 /templates/sysconfig | |
parent | Show missing template names with all params passed (diff) | |
download | slx-admin-123e2973f28dba48b0ec039887fe735d35325ee8.tar.gz slx-admin-123e2973f28dba48b0ec039887fe735d35325ee8.tar.xz slx-admin-123e2973f28dba48b0ec039887fe735d35325ee8.zip |
JS: Use documentLoaded event where possible
Diffstat (limited to 'templates/sysconfig')
-rw-r--r-- | templates/sysconfig/_page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sysconfig/_page.html b/templates/sysconfig/_page.html index b179f7d4..1a2f64d6 100644 --- a/templates/sysconfig/_page.html +++ b/templates/sysconfig/_page.html @@ -223,5 +223,5 @@ if (ids.indexOf($(this).val()) >= 0) $(this).removeClass('btn-primary').addClass('btn-default'); }); } - setTimeout(checkBuildStatus, 300); + document.addEventListener("DOMContentLoaded", checkBuildStatus, false); // --></script>
\ No newline at end of file |