From f27e12c6ba9f3674e2928b9be85179f00c9324d9 Mon Sep 17 00:00:00 2001 From: pavel Date: Thu, 26 Mar 2015 08:44:10 +0000 Subject: [PATCH] css bugs --- templates/client/includes/exposition/search_result.html | 2 +- .../client/static_client/js/_modules/page.profile.calendar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,