Community popovers now pop to the top instead of to the bottom.
This commit is contained in:
parent
ef19612ab2
commit
eef33f2ed5
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ module.exports = class CommunityView extends RootView
|
||||||
titleDescription = $.i18n.t("classes.#{characterClass}_title_description")
|
titleDescription = $.i18n.t("classes.#{characterClass}_title_description")
|
||||||
summary = $.i18n.t("classes.#{characterClass}_summary")
|
summary = $.i18n.t("classes.#{characterClass}_summary")
|
||||||
explanation = "<h4>#{title} #{titleDescription}</h4>#{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 ->
|
@$el.find('.logo-row img').each ->
|
||||||
$(@).popover(placement: 'bottom', trigger: 'hover', container: 'body')
|
$(@).popover(placement: 'top', trigger: 'hover', container: 'body')
|
||||||
|
|
Reference in a new issue