summaryrefslogtreecommitdiff
path: root/wikipedia
diff options
context:
space:
mode:
authorRory MacQueen <rorymacqueen@gmail.com>2013-08-07 13:46:43 -0700
committerRory MacQueen <rorymacqueen@gmail.com>2013-08-07 13:46:43 -0700
commit4219eeedfc62e9160eb464f24bf0b161487e43bb (patch)
treea6cb93007fb5effa96cd4a7a4ac60c6d23ea6208 /wikipedia
parent1ef4cee0962e3172b21a98c7be1d2897bb7fae45 (diff)
Hide context menu
Diffstat (limited to 'wikipedia')
-rw-r--r--wikipedia/views/wikipedia_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/wikipedia/views/wikipedia_view.js b/wikipedia/views/wikipedia_view.js
index ecab195..6ac2134 100644
--- a/wikipedia/views/wikipedia_view.js
+++ b/wikipedia/views/wikipedia_view.js
@@ -17,6 +17,7 @@ const WikipediaView = new Lang.Class({
//let settings = this.get_settings();
//settings.set_enable_developer_extras(true);
//this.set_settings(settings);
+ this.connect('context-menu', Lang.bind(this, function(){return true}));
},
_get_body_html:function(articleHTML, title, image_path){