diff --git a/app/views/explore/active.html.erb b/app/views/explore/active.html.erb index a70cdcae..0ca442e5 100644 --- a/app/views/explore/active.html.erb +++ b/app/views/explore/active.html.erb @@ -11,6 +11,5 @@ <% content_for :mobile_title, "Recently Active" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.open(); - Metamaps.GlobalUI.Search.lock(); + Metamaps.GlobalUI.Search.focus(); diff --git a/app/views/explore/featured.html.erb b/app/views/explore/featured.html.erb index cfe4a627..806b2fac 100644 --- a/app/views/explore/featured.html.erb +++ b/app/views/explore/featured.html.erb @@ -11,6 +11,5 @@ <% content_for :mobile_title, "Featured Maps" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.open(); - Metamaps.GlobalUI.Search.lock(); + Metamaps.GlobalUI.Search.focus(); diff --git a/app/views/explore/mapper.html.erb b/app/views/explore/mapper.html.erb index 8c5ecf89..68792f47 100644 --- a/app/views/explore/mapper.html.erb +++ b/app/views/explore/mapper.html.erb @@ -14,6 +14,5 @@ <% content_for :mobile_title, @user.name %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.open(); - Metamaps.GlobalUI.Search.lock(); + Metamaps.GlobalUI.Search.focus(); diff --git a/app/views/explore/mine.html.erb b/app/views/explore/mine.html.erb index 17f715f9..8e39c296 100644 --- a/app/views/explore/mine.html.erb +++ b/app/views/explore/mine.html.erb @@ -11,6 +11,5 @@ <% content_for :mobile_title, "My Maps" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.open(); - Metamaps.GlobalUI.Search.lock(); + Metamaps.GlobalUI.Search.focus(); diff --git a/app/views/explore/shared.html.erb b/app/views/explore/shared.html.erb index fd02c810..246498a0 100644 --- a/app/views/explore/shared.html.erb +++ b/app/views/explore/shared.html.erb @@ -11,6 +11,5 @@ <% content_for :mobile_title, "Shared With Me" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.open(); - Metamaps.GlobalUI.Search.lock(); + Metamaps.GlobalUI.Search.focus(); diff --git a/app/views/explore/starred.html.erb b/app/views/explore/starred.html.erb index 4d0e0eb1..825dbf5d 100644 --- a/app/views/explore/starred.html.erb +++ b/app/views/explore/starred.html.erb @@ -11,6 +11,5 @@ <% content_for :mobile_title, "Starred Maps" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.open(); - Metamaps.GlobalUI.Search.lock(); + Metamaps.GlobalUI.Search.focus();