metamaps--metamaps/app/views/doorkeeper/applications/_script.html.erb

10 lines
306 B
Text

<script type="text/javascript">
Metamaps.Apps = {
init: function () {
Metamaps.Header.changeSection(!!Metamaps.Active.Mapper, 'registered');
Metamaps.GlobalUI.showDiv('#exploreMapsHeader')
Metamaps.GlobalUI.Search.open();
Metamaps.GlobalUI.Search.lock();
}
};
</script>