aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Resources/friendship/ui/WebView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/Resources/friendship/ui/WebView.js b/Resources/friendship/ui/WebView.js
index d1c8e50..ea4ea21 100644
--- a/Resources/friendship/ui/WebView.js
+++ b/Resources/friendship/ui/WebView.js
@@ -9,7 +9,8 @@
});
var webview = Ti.UI.createWebView({
- url: options['url']
+ url: options['url'],
+ top: -44 // Removes the Facebook navbar. Eventually, we should only do this on facebook webviews, but as long as we only have facebook webviews, we can just hard-code it in there.
});
win.add(webview);