Permalink
Browse files

Increasing the document.title reset timers

  • Loading branch information...
1 parent ec66e58 commit c8a11e427c12cbf3b6d98eda6f60e0f4e3332f25 @miksago miksago committed May 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/javascripts/application.js
@@ -289,12 +289,12 @@
window.onfocus = function() {
setTimeout(function(){
document.title = 'Todos';
- }, 500);
+ }, 2000);
};
document.onfocusin = function() {
setTimeout(function(){
document.title = 'Todos';
- }, 500);
+ }, 2000);
}
});

0 comments on commit c8a11e4

Please sign in to comment.