shramov/leaflet-plugins — pull request #69 by erf (2013-04-23 11:42:55+00:00)
Title: check if AttributionControl exists before adding/removing it

i've add a null check to see if AttributionControl exists before adding/removing it - it caused a crash when not enabled.