Don't call updateLayers if the new state has no layer config
authorTom Hughes <tom@compton.nu>
Thu, 13 Mar 2014 21:36:10 +0000 (21:36 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 13 Mar 2014 21:36:33 +0000 (21:36 +0000)
commit24e22dde6e3dd4fde3f92591ac58e1a8b909266a
tree15d2dff987b7cf4069ca48024b2ad3e8b6177597
parent82ff8ef58de69c881f63c0a2ef8f9e8a6ae483e0
Don't call updateLayers if the new state has no layer config

Fixes #719
app/assets/javascripts/leaflet.map.js.erb