summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-03-18 11:22:30 +0100
committerPeter Wu <peter@lekensteyn.nl>2015-03-18 11:22:30 +0100
commit4cf80e14033767f8b5b992bb9df098d6b59bf3b2 (patch)
tree79753f260f9b5a80ec873f87369f1483fe73f971 /index.html
parentbc5e0d40113ff12fac9d460e264ec620d3b04735 (diff)
downloadsite-4cf80e14033767f8b5b992bb9df098d6b59bf3b2.tar.gz
Wait before warning for missing less
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.html b/index.html
index 9a35913..f92e990 100644
--- a/index.html
+++ b/index.html
@@ -12,7 +12,9 @@
// fallback if a local less.js file cannot be loaded.
window.less || document.write('<script src="' +
'https://cdnjs.cloudflare.com/ajax/libs/less.js/1.6.1/less.min.js"><\/script>');
-window.less || alert('compile style.less manually or find a less.js');
+setTimeout(function() {
+ window.less || alert('compile style.less manually or find a less.js');
+}, 1000);
</script>
</head>