Leaflet/Leaflet — pull request #1750 by jec006 (2013-06-10 22:36:07+00:00)
Title: Unbind moveend event when maxBounds removed

An attempt to resolve https://github.com/Leaflet/Leaflet/issues/1749

See issue for fiddle showing the issue.

This pull request simply unbinds the event (which is bound when the maxBounds are set) when the maxBounds are removed