diff --git a/templates/client/includes/exposition/search_result.html b/templates/client/includes/exposition/search_result.html index ba43851a..afab1f52 100644 --- a/templates/client/includes/exposition/search_result.html +++ b/templates/client/includes/exposition/search_result.html @@ -70,7 +70,7 @@ - + {% if user.is_authenticated %} {% if result.object|in_calendar:user %} {% trans 'из расписания' %} diff --git a/templates/client/static_client/js/_modules/page.profile.calendar.js b/templates/client/static_client/js/_modules/page.profile.calendar.js index b9ade3f2..ccb4dcb7 100644 --- a/templates/client/static_client/js/_modules/page.profile.calendar.js +++ b/templates/client/static_client/js/_modules/page.profile.calendar.js @@ -73,7 +73,7 @@ if (EXPO.profile.calendar) { result = 0, width = self.opt.cellWidth, $calendar = $('#' + self.opt.calenadrId), - currentDay = $calendar.find('td.' + self.opt.currentDayClass).index(), + currentDay = $calendar.find('.'+self.opt.daysClass+' td.' + self.opt.currentDayClass).index(), onestep = self.opt.cellsToScroll, allDays = $calendar.find('.'+self.opt.daysClass+' td').length, stepsCount,