Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Fix 931909: Clicking on team icon in detailed view revert to main menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
AddySridhar95 authored and Michael Kelly committed Apr 8, 2015
1 parent acdbd2b commit b9dc57e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions careers/careers/static/js/careers.js
Expand Up @@ -245,18 +245,14 @@
var currentTeam = $('.team-current');

if (currentTeam.length) {
var requestingCurrent = false;
// if there is a current team(s) hide it
currentTeam.each( function(){
var currentTeamId = this.id;
teamHide(currentTeamId);
if (currentTeamId === newTeamId) {
requestingCurrent = true;
}
});

// if we're requesting the intro or the current team...
if (newTeamId === 'teams-intro' || requestingCurrent) {
// if we're requesting the intro.
if (newTeamId === 'teams-intro') {
// show the intro again
teamsIntroToggle('show');
} else {
Expand Down

0 comments on commit b9dc57e

Please sign in to comment.