Team:Cornell/sandbox
From 2013.igem.org
(Difference between revisions)
Line 336: | Line 336: | ||
$(document).keydown(function(e){ | $(document).keydown(function(e){ | ||
clearTimeout($.data(this, 'timer')); | clearTimeout($.data(this, 'timer')); | ||
- | var wait = setTimeout(parallax(e), 3000); | + | var wait = setTimeout(parallax(e), '3000'); |
$(this).data('timer', wait); | $(this).data('timer', wait); | ||
}); | }); |
Revision as of 20:36, 1 January 2014