Community popovers now pop to the top instead of to the bottom.

This commit is contained in:
Nick Winter 2015-04-07 13:57:54 -07:00
parent ef19612ab2
commit eef33f2ed5

View file

@ -13,7 +13,7 @@ module.exports = class CommunityView extends RootView
titleDescription = $.i18n.t("classes.#{characterClass}_title_description")
summary = $.i18n.t("classes.#{characterClass}_summary")
explanation = "<h4>#{title} #{titleDescription}</h4>#{summary}"
$(@).find('img').popover(placement: 'bottom', trigger: 'hover', container: 'body', content: explanation, html: true)
$(@).find('img').popover(placement: 'top', trigger: 'hover', container: 'body', content: explanation, html: true)
@$el.find('.logo-row img').each ->
$(@).popover(placement: 'bottom', trigger: 'hover', container: 'body')
$(@).popover(placement: 'top', trigger: 'hover', container: 'body')