test for , not for hasZoombar, so that the test won't fail before load

This commit is contained in:
rlx 2012-04-22 13:19:08 +00:00
parent 374508a9f1
commit 3c253a86d5

View file

@ -1497,7 +1497,7 @@ Ox.Map = function(options, self) {
height: self.mapHeight + 'px',
width: self.options.width + 'px'
});
self.options.showZoombar && self.$zoomInput.options({
self.options.$zoomInput && self.$zoomInput.options({
size: self.options.width
});
updateFormElements();