Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Firefox padding height bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvislov committed Apr 3, 2013
1 parent 5477d84 commit 654444f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/custom.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $(document).ready ->

# timetable long events hover
$('.event').mouseenter ->
heightSummary = $(this).find('.summary').outerHeight() + parseInt($(this).css('padding'))
heightSummary = $(this).find('.summary').outerHeight() + parseInt($(this).css('paddingTop'))
heightEvent = $(this).outerHeight()
if heightSummary > heightEvent
$(this).addClass('expand')
Expand Down

0 comments on commit 654444f

Please sign in to comment.