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();