Enable the ammo popover on the combined sheet (closes #44)
This commit is contained in:
parent
88131aabe0
commit
38c83586e5
2 changed files with 2 additions and 2 deletions
|
|
@ -58,6 +58,7 @@ export class CombinedHeroSheet extends GenericAppMixin(HandlebarsApplicationMixi
|
||||||
);
|
);
|
||||||
|
|
||||||
const skillsElement = this.element.querySelector(`.SkillsCardV1`);
|
const skillsElement = this.element.querySelector(`.SkillsCardV1`);
|
||||||
|
SkillsCardV1._createPopoverListeners.bind(this)();
|
||||||
SkillsCardV1._onRender.bind(this)(
|
SkillsCardV1._onRender.bind(this)(
|
||||||
context,
|
context,
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<div data-tooltip-direction="RIGHT">
|
<div data-tooltip-direction="RIGHT">
|
||||||
{{log @root}}
|
|
||||||
{{#if ammos}}
|
{{#if ammos}}
|
||||||
<ul>
|
<ul>
|
||||||
{{#each ammos as | data |}}
|
{{#each ammos as | data |}}
|
||||||
|
|
@ -47,7 +46,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="placeholder">
|
<span class="placeholder">
|
||||||
{{ rc-i18n "RipCrypt.Apps.no-ammo" }}
|
{{ rc-i18n "RipCrypt.Apps.AmmoTracker.no-ammo" }}
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue