Search.focus() is the new Search.open()
This commit is contained in:
parent
05c1e4c60d
commit
bc139608c2
6 changed files with 6 additions and 12 deletions
|
@ -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();
|
||||
</script>
|
||||
|
|
|
@ -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();
|
||||
</script>
|
||||
|
|
|
@ -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();
|
||||
</script>
|
||||
|
|
|
@ -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();
|
||||
</script>
|
||||
|
|
|
@ -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();
|
||||
</script>
|
||||
|
|
|
@ -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();
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue