uncomment commented header lines
This commit is contained in:
parent
804afc3e1d
commit
4005b301ac
1 changed files with 6 additions and 3 deletions
|
@ -46,7 +46,7 @@
|
||||||
if (Metamaps.Active.Mapper) {
|
if (Metamaps.Active.Mapper) {
|
||||||
Metamaps.GlobalUI.hideDiv('#yield')
|
Metamaps.GlobalUI.hideDiv('#yield')
|
||||||
|
|
||||||
//Metamaps.Famous.explore.set('active')
|
Metamaps.Header.changeSection(!!Metamaps.Active.Mapper, 'active')
|
||||||
//Metamaps.Famous.maps.resetScroll() // sets the scroll back to the top
|
//Metamaps.Famous.maps.resetScroll() // sets the scroll back to the top
|
||||||
Metamaps.GlobalUI.showDiv('#exploreMapsHeader')
|
Metamaps.GlobalUI.showDiv('#exploreMapsHeader')
|
||||||
Metamaps.GlobalUI.showDiv('#exploreMaps')
|
Metamaps.GlobalUI.showDiv('#exploreMaps')
|
||||||
|
@ -147,8 +147,11 @@
|
||||||
Metamaps.GlobalUI.Search.lock()
|
Metamaps.GlobalUI.Search.lock()
|
||||||
Metamaps.GlobalUI.showDiv('#exploreMaps')
|
Metamaps.GlobalUI.showDiv('#exploreMaps')
|
||||||
Metamaps.GlobalUI.showDiv('#exploreMapsHeader')
|
Metamaps.GlobalUI.showDiv('#exploreMapsHeader')
|
||||||
// Metamaps.Famous.maps.resetScroll() // sets the scroll back to the top
|
// Metamaps.Famous.maps.resetScroll() // sets scroll back to top
|
||||||
//Metamaps.Famous.explore.set(section, id)
|
if (id) {
|
||||||
|
Metamaps.Header.fetchUserThenchangeSection(!!Metamaps.Active.Mapper, id)
|
||||||
|
}
|
||||||
|
else Metamaps.Header.changeSection(!!Metamaps.Active.Mapper, section)
|
||||||
Metamaps.GlobalUI.hideDiv('#yield')
|
Metamaps.GlobalUI.hideDiv('#yield')
|
||||||
Metamaps.GlobalUI.hideDiv('#infovis')
|
Metamaps.GlobalUI.hideDiv('#infovis')
|
||||||
Metamaps.GlobalUI.hideDiv('#instructions')
|
Metamaps.GlobalUI.hideDiv('#instructions')
|
||||||
|
|
Loading…
Reference in a new issue