Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 151bd92

Browse files
committedSep 30, 2015
Merge pull request #276 from appirio-tech/sup-1729-nav-close
close mobile nav on state change to handle link behavior
2 parents 96d5a6e + 050a209 commit 151bd92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎app/topcoder.controller.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
// set some $rootScope constants here
1313
$rootScope.DOMAIN = CONSTANTS.domain;
14+
15+
$rootScope.$on('$stateChangeStart', function() {
16+
vm.menuVisible = false;
17+
});
1418

1519
// TODO - enable this once we support notificaitons
1620
// $rootScope.$on(CONSTANTS.EVENT_USER_LOGGED_IN, function() {

0 commit comments

Comments
 (0)
This repository has been archived.