summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-06-03 11:44:53 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-06-03 11:44:53 +0200
commit50af13373d340cba2bd5893ab4b01ffe851c952b (patch)
tree11c0f6521152e6ae34055b31af33d92bee526e5b /includes
parentae8e479c1a8ae55c5cfbc56788da7954243e5164 (diff)
Execute the JS after the DOM is ready.
Diffstat (limited to 'includes')
-rw-r--r--includes/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/main.js b/includes/main.js
index e2b0a6f..b837e82 100644
--- a/includes/main.js
+++ b/includes/main.js
@@ -1,4 +1,4 @@
-$(function() {
+$(document).ready(function() {
// hide the optional parameters field
$('.result').hide();
$('.loading').hide();