diff --git a/src/core/wrapper/layout/adapt/inline.center.js b/src/core/wrapper/layout/adapt/inline.center.js index 0dec3583b..0ac6c5389 100644 --- a/src/core/wrapper/layout/adapt/inline.center.js +++ b/src/core/wrapper/layout/adapt/inline.center.js @@ -23,12 +23,13 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, { }, render: function () { + var o = this.options; BI.InlineCenterAdaptLayout.superclass.render.apply(this, arguments); this.element.css({ whiteSpace: "nowrap", textAlign: o.horizontalAlign }); - this.populate(this.options.items); + this.populate(o.items); }, _addElement: function (i, item, length) {