summaryrefslogtreecommitdiffstats
path: root/templates/sysconfig
diff options
context:
space:
mode:
authorSimon Rettberg2015-11-30 13:50:33 +0100
committerSimon Rettberg2015-11-30 13:50:33 +0100
commit123e2973f28dba48b0ec039887fe735d35325ee8 (patch)
treec9790aa75ff345e3b6ddc5e8b90ad212f9f3cad7 /templates/sysconfig
parentShow missing template names with all params passed (diff)
downloadslx-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.html2
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