ensure the search box opens
This commit is contained in:
parent
6f5258cbb7
commit
579c36ec75
4 changed files with 4 additions and 4 deletions
|
@ -10,6 +10,6 @@
|
||||||
<% content_for :title, "Explore Active Maps | Metamaps" %>
|
<% content_for :title, "Explore Active Maps | Metamaps" %>
|
||||||
|
|
||||||
Metamaps.currentSection = "explore";
|
Metamaps.currentSection = "explore";
|
||||||
Metamaps.GlobalUI.Search.isOpen = true;
|
Metamaps.GlobalUI.Search.open();
|
||||||
Metamaps.GlobalUI.Search.lock();
|
Metamaps.GlobalUI.Search.lock();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
<% content_for :title, "Explore Featured Maps | Metamaps" %>
|
<% content_for :title, "Explore Featured Maps | Metamaps" %>
|
||||||
|
|
||||||
Metamaps.currentSection = "explore";
|
Metamaps.currentSection = "explore";
|
||||||
Metamaps.GlobalUI.Search.isOpen = true;
|
Metamaps.GlobalUI.Search.open();
|
||||||
Metamaps.GlobalUI.Search.lock();
|
Metamaps.GlobalUI.Search.lock();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
<% content_for :title, "Explore My Maps | Metamaps" %>
|
<% content_for :title, "Explore My Maps | Metamaps" %>
|
||||||
|
|
||||||
Metamaps.currentSection = "explore";
|
Metamaps.currentSection = "explore";
|
||||||
Metamaps.GlobalUI.Search.isOpen = true;
|
Metamaps.GlobalUI.Search.open();
|
||||||
Metamaps.GlobalUI.Search.lock();
|
Metamaps.GlobalUI.Search.lock();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -13,6 +13,6 @@
|
||||||
<% content_for :title, @user.name + " | Metamaps" %>
|
<% content_for :title, @user.name + " | Metamaps" %>
|
||||||
|
|
||||||
Metamaps.currentSection = "explore";
|
Metamaps.currentSection = "explore";
|
||||||
Metamaps.GlobalUI.Search.isOpen = true;
|
Metamaps.GlobalUI.Search.open();
|
||||||
Metamaps.GlobalUI.Search.lock();
|
Metamaps.GlobalUI.Search.lock();
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue