From bbc793b003895702e665194e2e00779d1bb238b1 Mon Sep 17 00:00:00 2001 From: Michael Schmatz Date: Tue, 8 Jul 2014 10:42:36 -0700 Subject: [PATCH] Fixed modal popping up when logging out sometimes --- app/views/employers_view.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/employers_view.coffee b/app/views/employers_view.coffee index 984e18365..c611c60f0 100644 --- a/app/views/employers_view.coffee +++ b/app/views/employers_view.coffee @@ -300,7 +300,9 @@ module.exports = class EmployersView extends View 8: '✓': filterSelectExactMatch '✗': filterSelectExactMatch - + logoutAccount: -> + window.location.hash = '' + super() onCandidateClicked: (e) -> id = $(e.target).closest('tr').data('candidate-id') if id and (@isEmployer() or me.isAdmin())