Window onfocus timer fix
authorDarren <darren@darrenwhitlen.com>
Fri, 12 Oct 2012 13:40:00 +0000 (14:40 +0100)
committerDarren <darren@darrenwhitlen.com>
Fri, 12 Oct 2012 13:40:00 +0000 (14:40 +0100)
client/dev/view.js

index caa0464588a00e5f399f188f709e036e34c8e452..542a9938f4fb618d0d412eb763bf04aaba476a98 100644 (file)
@@ -984,7 +984,7 @@ kiwi.view.Application = Backbone.View.extend({
 \r
                     // Some browsers don't always update the last title correctly\r
                     // Wait a few seconds and then reset\r
-                    setTimeout(this.reset, 2000);\r
+                    setTimeout(that.reset, 2000);\r
                 });\r
 \r
                 $(window).blur(function (event) {\r