diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-03-18 11:22:30 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-03-18 11:22:30 +0100 |
commit | 4cf80e14033767f8b5b992bb9df098d6b59bf3b2 (patch) | |
tree | 79753f260f9b5a80ec873f87369f1483fe73f971 /index.html | |
parent | bc5e0d40113ff12fac9d460e264ec620d3b04735 (diff) | |
download | site-4cf80e14033767f8b5b992bb9df098d6b59bf3b2.tar.gz |
Wait before warning for missing less
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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> |