diff --git a/core/js/goto_marker.js b/core/js/goto_marker.js index 6d46c1d..20ece96 100644 --- a/core/js/goto_marker.js +++ b/core/js/goto_marker.js @@ -24,13 +24,13 @@ window.open(link.href, '_self'); } }else if(link.nodeName.toLowerCase() === 'input'){ - if(link.getAttribute('type') === 'text'){ - link.focus(); - link.select(); - } else if(link.getAttribute('type') === 'submit'){ + if(link.getAttribute('type') === 'submit'){ link.submit(); } else if(link.getAttribute('type') === 'checkbox'){ link.click(); + } else { + link.focus(); + link.select(); } } }