From: Darren Date: Fri, 12 Oct 2012 13:40:00 +0000 (+0100) Subject: Window onfocus timer fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8c906998d0cb1eef055099fc79ba8d800913d7fb;p=KiwiIRC.git Window onfocus timer fix --- diff --git a/client/dev/view.js b/client/dev/view.js index caa0464..542a993 100644 --- a/client/dev/view.js +++ b/client/dev/view.js @@ -984,7 +984,7 @@ kiwi.view.Application = Backbone.View.extend({ // Some browsers don't always update the last title correctly // Wait a few seconds and then reset - setTimeout(this.reset, 2000); + setTimeout(that.reset, 2000); }); $(window).blur(function (event) {