From 3c253a86d55d4029eec9b2cfb281dfcfa908c806 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sun, 22 Apr 2012 13:19:08 +0000 Subject: [PATCH] test for , not for hasZoombar, so that the test won't fail before load --- source/Ox.UI/js/Map/Ox.Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Map/Ox.Map.js b/source/Ox.UI/js/Map/Ox.Map.js index 3012e5bd..cee19f4c 100644 --- a/source/Ox.UI/js/Map/Ox.Map.js +++ b/source/Ox.UI/js/Map/Ox.Map.js @@ -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();