Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
Fixed popover calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncypret committed Feb 27, 2015
1 parent d23a0dc commit af58f57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/expressionui/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Expressionui
VERSION = "0.1.8.5"
VERSION = "0.1.8.6"
end
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/expressionui.popover.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
else
options.position_left += (options.outter_width / 2)
if options.position_top is null
options.position_top = jQuery(this).offset().top + (options.outter_height / 2)
options.position_top = jQuery(this).offset().top + (options.outter_height / 2) - jQuery(options.scroll_target).scrollTop()
else
options.position_top += (options.outter_height / 2)

Expand Down

0 comments on commit af58f57

Please sign in to comment.