From 02460f0e9dd115f6e4e4d9e1ed712e9f68a48074 Mon Sep 17 00:00:00 2001 From: Andrew Hankinson Date: Wed, 27 Feb 2013 09:07:21 -0500 Subject: [PATCH] Change `this` to `_window` in apply() --- AppKit/CPWebView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPWebView.j b/AppKit/CPWebView.j index 0370e1644..98cc59caa 100644 --- a/AppKit/CPWebView.j +++ b/AppKit/CPWebView.j @@ -962,7 +962,7 @@ CPWebViewAppKitScrollMaxPollCount = 3; { try { - return _window[methodName].apply(this, args); + return _window[methodName].apply(_window, args); } catch (e) {