mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
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")
|
||||
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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue