minor cleanup

This commit is contained in:
Tankred Hase 2013-04-29 11:59:34 +02:00
parent f80fa586b5
commit e10759f7f4
2 changed files with 1 additions and 5 deletions

View File

@ -1,10 +1,6 @@
{
"name": "mail-html5",
"version": "0.0.1",
"subdomain": "whiteout",
"scripts": {
"start": "node server.js"
},
"engines": {
"node": ">=0.8"
},

View File

@ -43,7 +43,7 @@
$(document).ready(function() {
// are we running in native app or in browser?
var isBrowser = false;
if (document.URL.indexOf("http://") !== -1) {
if (document.URL.indexOf("http") === 0) {
isBrowser = true;
}