From eef33f2ed5e05103015b6bc82436c61b8f075977 Mon Sep 17 00:00:00 2001 From: Nick Winter <livelily@gmail.com> Date: Tue, 7 Apr 2015 13:57:54 -0700 Subject: [PATCH] Community popovers now pop to the top instead of to the bottom. --- app/views/CommunityView.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/CommunityView.coffee b/app/views/CommunityView.coffee index dc6f6839d..0186ede61 100644 --- a/app/views/CommunityView.coffee +++ b/app/views/CommunityView.coffee @@ -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')