]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.layers.js
Remove some repeated-query funkiness
[rails.git] / app / assets / javascripts / leaflet.layers.js
index d6276919c892da8065691009ae6770a41d3d9917..bb00f716c8c28d969c3f90c05db97970b4f1aabb 100644 (file)
@@ -168,8 +168,6 @@ L.OSM.layers = function(options) {
               .trigger('change');
           }
 
-          layer.fire('statechange', {disabled: disabled, checked: checked});
-
           $(item).attr('class', disabled ? 'disabled' : '');
           item.attr('data-original-title', disabled ?
             I18n.t('javascripts.site.' + refName + '_zoom_in_tooltip') : '');