test for , not for hasZoombar, so that the test won't fail before load
This commit is contained in:
parent
374508a9f1
commit
3c253a86d5
1 changed files with 1 additions and 1 deletions
|
@ -1497,7 +1497,7 @@ Ox.Map = function(options, self) {
|
||||||
height: self.mapHeight + 'px',
|
height: self.mapHeight + 'px',
|
||||||
width: self.options.width + 'px'
|
width: self.options.width + 'px'
|
||||||
});
|
});
|
||||||
self.options.showZoombar && self.$zoomInput.options({
|
self.options.$zoomInput && self.$zoomInput.options({
|
||||||
size: self.options.width
|
size: self.options.width
|
||||||
});
|
});
|
||||||
updateFormElements();
|
updateFormElements();
|
||||||
|
|
Loading…
Reference in a new issue