diff options
author | portix <none@none> | 2012-12-01 00:30:27 +0100 |
---|---|---|
committer | portix <none@none> | 2012-12-01 00:30:27 +0100 |
commit | 12ebc203dd7785bb3999c5b240d6c78591ade81d (patch) | |
tree | 5e0a574412e351407b51f40547f74f9e16d1da75 /scripts | |
parent | 342835d1eea41964ca40c34711af9f2c171d5e91 (diff) | |
download | dwb-12ebc203dd7785bb3999c5b240d6c78591ade81d.zip |
Create dummy constructor for webview; map wv.parent to scrolledWindow
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/dwb.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/dwb.js b/scripts/lib/dwb.js index 9ec4cf07..ef5597f3 100644 --- a/scripts/lib/dwb.js +++ b/scripts/lib/dwb.js @@ -90,5 +90,6 @@ configurable : true } }); + Object.defineProperty(WebKitWebView.prototype, "scrolledWindow", { get : function() { return this.parent; } , enumerable : true }); })(); Object.preventExtensions(this); |