Skip to content

Commit

Permalink
Fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPeek committed Jul 3, 2018
1 parent 2e7314b commit ba80458
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The Icon popup attribute group contains values for **_isEnabled**, **_classes**,
No known limitations.

----------------------------
**Version number:** 2.1.7
**Version number:** 2.1.8
**Framework versions supported:** 2.0.4
**Author / maintainer:** DeltaNet with [contributors](https://github.com/deltanet/adapt-icon-popup/graphs/contributors)
**Accessibility support:** Yes
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-icon-popup",
"version": "2.1.7",
"version": "2.1.8",
"framework": "^2.0.4",
"homepage": "https://github.com/deltanet/adapt-icon-popup",
"issues": "https://github.com/deltanet/adapt-icon-popup/issues",
Expand Down
2 changes: 2 additions & 0 deletions js/adapt-icon-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ define(function(require) {

alignItems: function() {
// Check for audio toggle button
if (!$('.'+this.elementId).find('.audio-toggle').length) return;

if ($('.'+this.elementId).find('.audio-toggle').css('display') != 'none') {
this.$('.icon-popup-inner').addClass("audio-enabled");
} else {
Expand Down

0 comments on commit ba80458

Please sign in to comment.