Bind this.
authorJan Schneider <jan@horde.org>
Mon, 12 Apr 2010 13:39:47 +0000 (15:39 +0200)
committerJan Schneider <jan@horde.org>
Mon, 12 Apr 2010 14:28:25 +0000 (16:28 +0200)
kronolith/js/kronolith.js

index 1d9e2fe..a57a2d8 100644 (file)
@@ -3201,7 +3201,7 @@ KronolithCore = {
         iframe.observe('load', function() {
             view.appear({ duration: this.effectDur, queue: 'end' });
             iframe.stopObserving('load');
-        });
+        }.bind(this));
         iframe.src = loc;
         this.view = 'iframe';
     },