setTimeout doesn't seem to work in Chrome
Switch your setTimeout
statement to the following: setTimeout(timeoutTrigger,400);
The one you wrote is for when the function you're calling has a parameter. Also, you're missing a semicolon.
Switch your setTimeout
statement to the following: setTimeout(timeoutTrigger,400);
The one you wrote is for when the function you're calling has a parameter. Also, you're missing a semicolon.