aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/WebView.js
diff options
context:
space:
mode:
authorAnqi Xu2012-06-24 05:59:08 -0400
committerAnqi Xu2012-06-24 05:59:08 -0400
commit50c4169dc1f769e20f5c64f6ec959f87bea35716 (patch)
treed42bbeef8dff7664888c26451610c4257ddd09d3 /Resources/friendship/ui/WebView.js
parentffb4f153ba3578fdfcf4a16c1d0302b026addab0 (diff)
parent45ffe348a306fdb2310a542e35abe5c6dfb969a1 (diff)
downloadLikeFeed-50c4169dc1f769e20f5c64f6ec959f87bea35716.tar.bz2
Merge branch 'master' of github.com:teddywing/LikeFeed
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);