Skip to content

Commit

Permalink
Merge pull request #7 from humaan/fix-issue-6
Browse files Browse the repository at this point in the history
Fix issue 6
  • Loading branch information
cbotman committed Apr 21, 2016
2 parents a074dcc + b97b12b commit 832823d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

***

- Version 0.2.9
- Version 0.2.10
- Requires jQuery 1.11.2. v2+ not tested
- Built by [Humaan](http://www.humaan.com)

Expand Down
2 changes: 1 addition & 1 deletion dist/css/modaal.css
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
width: auto !important;
max-height: 85vh; } }

@media only screen and (max-height: 1024px) {
@media only screen and (max-height: 820px) {
.modaal-gallery-label {
display: none; } }

Expand Down
2 changes: 1 addition & 1 deletion dist/css/modaal.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/modaal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ $modaal-grey: #afb7bc;
max-height: 85vh;
}
}
@media only screen and (max-height: 1024px) {
@media only screen and (max-height: 820px) {
.modaal-gallery-label {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/modaal.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@
$('.modaal-wrapper *[tabindex=0]').removeAttr('tabindex');

if ( self.options.type == 'image' ) {
focusTarget = $('#' + self.scope.id).find('.modaal-gallery-item.' + self.private_options.active_class + ' .modaal-gallery-label');
focusTarget = $('#' + self.scope.id).find('.modaal-gallery-item.' + self.private_options.active_class);
} else if ( modal_wrapper.find('.modaal-iframe-elem').length ) {
focusTarget = modal_wrapper.find('.modaal-iframe-elem');

Expand Down
2 changes: 1 addition & 1 deletion dist/js/modaal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/css/modaal.css
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
width: auto !important;
max-height: 85vh; } }

@media only screen and (max-height: 1024px) {
@media only screen and (max-height: 820px) {
.modaal-gallery-label {
display: none; } }

Expand Down
2 changes: 1 addition & 1 deletion source/css/modaal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ $modaal-grey: #afb7bc;
max-height: 85vh;
}
}
@media only screen and (max-height: 1024px) {
@media only screen and (max-height: 820px) {
.modaal-gallery-label {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion source/js/modaal.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@
$('.modaal-wrapper *[tabindex=0]').removeAttr('tabindex');

if ( self.options.type == 'image' ) {
focusTarget = $('#' + self.scope.id).find('.modaal-gallery-item.' + self.private_options.active_class + ' .modaal-gallery-label');
focusTarget = $('#' + self.scope.id).find('.modaal-gallery-item.' + self.private_options.active_class);
} else if ( modal_wrapper.find('.modaal-iframe-elem').length ) {
focusTarget = modal_wrapper.find('.modaal-iframe-elem');

Expand Down

0 comments on commit 832823d

Please sign in to comment.