diff --git a/app/views/maps/activemaps.html.erb b/app/views/maps/activemaps.html.erb index 90156321..cfcbce27 100644 --- a/app/views/maps/activemaps.html.erb +++ b/app/views/maps/activemaps.html.erb @@ -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(); diff --git a/app/views/maps/featuredmaps.html.erb b/app/views/maps/featuredmaps.html.erb index 048d23a4..2c438b49 100644 --- a/app/views/maps/featuredmaps.html.erb +++ b/app/views/maps/featuredmaps.html.erb @@ -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(); diff --git a/app/views/maps/mymaps.html.erb b/app/views/maps/mymaps.html.erb index 76a96ec1..60c69f68 100644 --- a/app/views/maps/mymaps.html.erb +++ b/app/views/maps/mymaps.html.erb @@ -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(); diff --git a/app/views/maps/usermaps.html.erb b/app/views/maps/usermaps.html.erb index 4107fbb7..c0855329 100644 --- a/app/views/maps/usermaps.html.erb +++ b/app/views/maps/usermaps.html.erb @@ -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();