function onResize() {
        if (self.isOpen && !self.config.static && !self.config.inline)
            positionCalendar();
    }