ensure the search box opens

This commit is contained in:
Connor Turland 2016-03-14 11:10:18 +11:00
parent 6f5258cbb7
commit 579c36ec75
4 changed files with 4 additions and 4 deletions

View file

@ -10,6 +10,6 @@
<% content_for :title, "Explore Active Maps | Metamaps" %>
Metamaps.currentSection = "explore";
Metamaps.GlobalUI.Search.isOpen = true;
Metamaps.GlobalUI.Search.open();
Metamaps.GlobalUI.Search.lock();
</script>

View file

@ -10,6 +10,6 @@
<% content_for :title, "Explore Featured Maps | Metamaps" %>
Metamaps.currentSection = "explore";
Metamaps.GlobalUI.Search.isOpen = true;
Metamaps.GlobalUI.Search.open();
Metamaps.GlobalUI.Search.lock();
</script>

View file

@ -10,6 +10,6 @@
<% content_for :title, "Explore My Maps | Metamaps" %>
Metamaps.currentSection = "explore";
Metamaps.GlobalUI.Search.isOpen = true;
Metamaps.GlobalUI.Search.open();
Metamaps.GlobalUI.Search.lock();
</script>

View file

@ -13,6 +13,6 @@
<% content_for :title, @user.name + " | Metamaps" %>
Metamaps.currentSection = "explore";
Metamaps.GlobalUI.Search.isOpen = true;
Metamaps.GlobalUI.Search.open();
Metamaps.GlobalUI.Search.lock();
</script>