Skip to content

Commit 180e42f

Browse files
committed
Fix bug for setTimeout #3
1 parent a5e174e commit 180e42f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ hasher.redirect = hasher.show = function( hash ) {
117117
show( hasher.current );
118118

119119
if( running ) {
120-
setTimeout( 0, function() {
120+
setTimeout( function() {
121121
hasher.start( true );
122-
});
122+
}, 0 );
123123
}
124124

125125
return hasher;

0 commit comments

Comments
 (0)