Skip to content

Commit

Permalink
updated location interval to be a bit quicker
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Mar 28, 2011
1 parent 5c04db1 commit 08d7e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascripts/slider.js
Expand Up @@ -92,12 +92,12 @@ FS.HSLSlider = new Class({

this.updateStyles();
},

updateLocation:function(color){
clearTimeout(this._locationHashTimer);
this._locationHashTimer = setTimeout(function(){
window.location.hash = color.hex();
}, 1000);
}, 300);
},

updateStyles: function(){
Expand Down

0 comments on commit 08d7e94

Please sign in to comment.