Skip to content

Commit

Permalink
Added fallback for _position not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPeek committed Jun 23, 2022
1 parent a825b16 commit 66d7b9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The attributes listed below are used in *components.json* to configure **Hotgrid
Hotgrid automatically switches to 2 columns in small and medium device mode for the best user experience.

----------------------------
**Version number:** 4.3.0
**Version number:** 4.3.1
**Framework versions:** 5.8+
**Author / maintainer:**
**Accessibility support:** WAI AA
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adapt-hotgrid-audio",
"version": "4.3.0",
"version": "4.3.1",
"framework": ">=5.8",
"homepage": "https://github.com/deltanet/adapt-hotgrid-audio",
"displayName": "Hotgrid",
Expand Down
2 changes: 1 addition & 1 deletion templates/hotgridPopup.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="hotgrid-popup-inner">
{{#each _items}}
<div class="hotgrid-item component-item u-clearfix{{#if _itemGraphic._position}} graphic-{{_itemGraphic._position}} {{/if}}{{#if _itemGraphic._position}}is-visited{{/if}} {{#if _isActive}}is-active{{/if}} {{_classes}}" data-index={{@index}}>
<div class="hotgrid-item component-item u-clearfix{{#if _itemGraphic._position}} graphic-{{_itemGraphic._position}}{{else}} graphic-right{{/if}}{{#if _isVisited}} is-visited{{/if}}{{#if _isActive}} is-active{{/if}}{{#if _classes}} {{_classes}}{{/if}}" data-index={{@index}}>

{{#if _itemGraphic.src}}
{{#if _itemGraphic._positionTop}}
Expand Down

0 comments on commit 66d7b9b

Please sign in to comment.