X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/898cc828dd1f1167f85abbf35c8e3f0ed640ac1e..1feda20644f05d83bdda22292e757ef1c14bd35f:/app/assets/javascripts/application.js?ds=sidebyside diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 284ec77e6..62c13bb9e 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -1,14 +1,12 @@ //= 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 leaflet.locate //= require i18n/translations //= require oauth //= require osm @@ -16,8 +14,10 @@ //= require map //= require menu //= require sidebar +//= require leaflet.share //= require richtext //= require resize +//= require geocoder function zoomPrecision(zoom) { var decimals = Math.pow(10, Math.floor(zoom/3)); @@ -215,10 +215,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(); -});