From 1b42a4e7f1285745aa6dc7e78f7ec3b19087df86 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 30 Jan 2012 01:12:53 +0530 Subject: [PATCH] fix a calendar bug --- source/Ox.UI/js/Calendar/Ox.Calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Calendar/Ox.Calendar.js b/source/Ox.UI/js/Calendar/Ox.Calendar.js index dce0431a..b15041d0 100644 --- a/source/Ox.UI/js/Calendar/Ox.Calendar.js +++ b/source/Ox.UI/js/Calendar/Ox.Calendar.js @@ -1038,8 +1038,8 @@ Ox.Calendar = function(options, self) { // self.options.height - 56 // 24 + 16 + 16 ); self.$content.css({height: self.contentHeight + 'px'}); - $('.OxBackground').empty(); - $('.OxEvent').remove(); + that.$element.find('.OxBackground').empty(); + that.$element.find('.OxEvent').remove(); renderBackground(); renderTimelines(); renderOverlay();