Skip to content

Bug: layer control doesn't work

Created by: slifty

In my our implementation of the layer control title I accidentally broke the actual layer control! This is because by re-setting the innerHTML I wiped away the DOM elements (and associated events) that had been created.

We need to instead insert the title element into the DOM more directly.