aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/WebView.js
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/friendship/ui/WebView.js')
-rw-r--r--Resources/friendship/ui/WebView.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/Resources/friendship/ui/WebView.js b/Resources/friendship/ui/WebView.js
index d1c8e50..f2a7dc3 100644
--- a/Resources/friendship/ui/WebView.js
+++ b/Resources/friendship/ui/WebView.js
@@ -4,12 +4,13 @@
var win = Ti.UI.createWindow({
barColor: fs.ui.styles.navBarColour,
- title: (options['title']) ? options['title'] : '',
+ title: 'Sphnx', //(options['title']) ? options['title'] : '',
backButtonTitle: 'Back'
});
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);