forked from 0x2620/oxjs
some redesign for better garbage collection of elements
This commit is contained in:
parent
01f02d9730
commit
1d09d19423
17 changed files with 129 additions and 101 deletions
|
|
@ -570,7 +570,7 @@ Ox.Map = function(options, self) {
|
|||
function constructZoomInput() {
|
||||
//Ox.Log('Map', 'constructZoomInput', self.minZoom, self.maxZoom)
|
||||
if (self.options.zoombar) {
|
||||
self.$zoomInput && self.$zoomInput.removeElement();
|
||||
self.$zoomInput && self.$zoomInput.remove();
|
||||
self.$zoomInput = Ox.Range({
|
||||
arrows: true,
|
||||
max: self.maxZoom,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue