From 57c72b15378beb6e14702c71257c4c545a4db27f Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Sun, 24 Aug 2014 14:59:23 +0200 Subject: [PATCH] properly style input fields --- js/script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/script.js b/js/script.js index 9f060262..9444d409 100644 --- a/js/script.js +++ b/js/script.js @@ -122,6 +122,10 @@ Array.prototype.unique = function() { $(".leaflet-routing-geocoders").appendTo("#searchContainer"); $(".leaflet-routing-container").appendTo("#searchContainer"); $('.geocoder-0').attr('completiontype', 'local'); + + // properly style as input field + $('#searchContainer').find('input').attr('type', 'text'); + map.on('mousedown', function(e) { //console.log('mousedown'); });