X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/378d08f2c92adf0c1d14bbe09fcebe9f5e786409..31a6d207286ed46e5ef582cfa77b76fa9d74ea9e:/app/assets/javascripts/index/browse.js diff --git a/app/assets/javascripts/index/browse.js b/app/assets/javascripts/index/browse.js index 61ac51f69..6371f559b 100644 --- a/app/assets/javascripts/index/browse.js +++ b/app/assets/javascripts/index/browse.js @@ -83,6 +83,7 @@ $(document).ready(function () { function enableFilter() { $("#browse_filter_toggle").html(I18n.t('browse.start_rjs.view_data')); + locationFilter.setBounds(map.getBounds().pad(-0.2)); locationFilter.enable(); getData(); }