X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fe6e837cfe77e1414998c0216defe7912e34bf75..5aea67a71f677c0845941ee0db72d756648fc026:/app/assets/javascripts/application.js diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 4fa2b56cc..b9d09bd82 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -1,6 +1,5 @@ //= require jquery //= require jquery_ujs -//= require jquery.autogrowtextarea //= require jquery.timers //= require jquery.cookie //= require augment @@ -8,6 +7,7 @@ //= require leaflet.osm //= require leaflet.locationfilter //= require i18n/translations +//= require oauth //= require osm //= require piwik //= require map @@ -15,6 +15,7 @@ //= require sidebar //= require richtext //= require resize +//= require geocoder function zoomPrecision(zoom) { var decimals = Math.pow(10, Math.floor(zoom/3)); @@ -212,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(); -});