diff options
-rw-r--r-- | src/js/views/around.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js index fff6908..57b4bc6 100644 --- a/src/js/views/around.js +++ b/src/js/views/around.js @@ -184,7 +184,11 @@ if ( !fixmystreet.map ) { $('#relocate').hide(); $('#mark-here').hide(); - $('#pc').attr('placeholder', FMS.strings.search_placeholder).focus(); + // if we are going to display the help then we don't want to focus on + // the search box as it will show through the help + if ( FMS.usedBefore ) { + $('#pc').attr('placeholder', FMS.strings.search_placeholder).focus(); + } } $('#front-howto').html('<p>' + msg + '</p>'); $('#front-howto').show(); |