dont change home link in the mapper profile case

This commit is contained in:
Connor Turland 2016-09-10 00:29:10 +00:00
parent 75260496be
commit d3bc3e3d18

View file

@ -90,7 +90,7 @@
document.title = 'Explore My Maps | Metamaps'
}
if (Metamaps.Active.Mapper) $('.homeButton a').attr('href', '/explore/' + section + (id ? '/' + id : ''))
if (Metamaps.Active.Mapper && section != 'mapper') $('.homeButton a').attr('href', '/explore/' + section)
$('.wrapper').removeClass('homePage mapPage topicPage')
$('.wrapper').addClass('explorePage')