aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2012-06-24 03:49:20 -0400
committerTeddy Wing2012-06-24 03:49:20 -0400
commitd5ce0e54285b1e0bb011bb762e5351c19568f80a (patch)
tree5a58a8f4d50a986531c14d6b7d079d12fe04ea39
parent5315572ea01926ec4997a3d4a651bd8e152d11f7 (diff)
downloadLikeFeed-d5ce0e54285b1e0bb011bb762e5351c19568f80a.tar.bz2
Webview: shifted it up 44px to take out the Facebook navbar/topbar.
-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);