Fix main page on firefox

This commit is contained in:
Lance Stout 2013-09-13 15:18:07 -07:00
parent 7d69314923
commit 2f6b013a1e
2 changed files with 1 additions and 6 deletions

View File

@ -46,7 +46,7 @@ exports.show = function (opts) {
}; };
exports.shouldAskPermission = function () { exports.shouldAskPermission = function () {
return window.webkitNotifications && (window.webkitNotifications.checkPermission() !== 0) && (window.webkitNotifications.checkPermission() !== 2); return (window.webkitNotifications && (window.webkitNotifications.checkPermission() !== 0) && (window.webkitNotifications.checkPermission() !== 2)) || false;
}; };
exports.askPermission = function (cb) { exports.askPermission = function (cb) {

View File

@ -27,10 +27,5 @@ module.exports = BasePage.extend({
}); });
} }
}); });
},
render: function () {
this.renderAndBind();
return this;
} }
}); });