X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f793e1b21a534b0331a5874613c4f3c05853a45..ef37ad8aaac510d34ccf7f14589c2584fc2b63ac:/app/assets/javascripts/application.js diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 8d6c13503..b9d09bd82 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -1,15 +1,13 @@ //= require jquery //= require jquery_ujs -//= require jquery.autogrowtextarea //= require jquery.timers //= require jquery.cookie //= require augment //= require leaflet //= require leaflet.osm //= require leaflet.locationfilter -//= require leaflet.pan -//= require leaflet.zoom //= require i18n/translations +//= require oauth //= require osm //= require piwik //= require map @@ -17,6 +15,7 @@ //= require sidebar //= require richtext //= require resize +//= require geocoder function zoomPrecision(zoom) { var decimals = Math.pow(10, Math.floor(zoom/3)); @@ -214,10 +213,3 @@ $(document).ready(function () { var auth_token = $("meta[name=csrf-token]").attr("content"); $("form input[name=authenticity_token]").val(auth_token); }); - -/* - * Enable auto expansion for all text areas - */ -$(document).ready(function () { - $("textarea").autoGrow(); -});