Busca en cnbGuatemala con Google
24 bytes añadidos
, hace 8 años
Línea 41: |
Línea 41: |
| allowAutomaticOkay: false, | | allowAutomaticOkay: false, |
| buttons: [ { | | buttons: [ { |
− | name: 'Show me how', | + | name: 'Show me how to search', |
| onclick: function () { | | onclick: function () { |
| $('#searchInput').focus(); | | $('#searchInput').focus(); |
Línea 66: |
Línea 66: |
| overlay: false, | | overlay: false, |
| buttons: [ { | | buttons: [ { |
− | name: 'Show me how again', | + | name: 'Show me the search resutls', |
| onclick: function () { | | onclick: function () { |
| $('#searchInput').focus(); | | $('#searchInput').focus(); |
Línea 73: |
Línea 73: |
| var press = jQuery.Event("keypress"); | | var press = jQuery.Event("keypress"); |
| press.ctrlKey = false; | | press.ctrlKey = false; |
− | press.which = 40; | + | press.which = 13; |
| $("#searchInput").trigger(press); | | $("#searchInput").trigger(press); |
| mw.libs.guiders.next(); | | mw.libs.guiders.next(); |
| } | | } |
− | } ], | + | } ], |
| } ) | | } ) |
| .next( 'buscar3' ) | | .next( 'buscar3' ) |