summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorportix <none@none>2012-12-01 00:30:27 +0100
committerportix <none@none>2012-12-01 00:30:27 +0100
commit12ebc203dd7785bb3999c5b240d6c78591ade81d (patch)
tree5e0a574412e351407b51f40547f74f9e16d1da75 /scripts
parent342835d1eea41964ca40c34711af9f2c171d5e91 (diff)
downloaddwb-12ebc203dd7785bb3999c5b240d6c78591ade81d.zip
Create dummy constructor for webview; map wv.parent to scrolledWindow
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/dwb.js1
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);