diff --git a/js/views/app_view.js b/js/views/app_view.js index 05b2618b0..ac6a7b23c 100644 --- a/js/views/app_view.js +++ b/js/views/app_view.js @@ -57,7 +57,7 @@ this.openView(this.inboxView); }.bind(this)); } else { - if (!$.contains(this.$el, this.inboxView.$el)) { + if (!$.contains(this.el, this.inboxView.el)) { this.openView(this.inboxView); } window.focus(); // FIXME