Skip to content

Commit

Permalink
Merge pull request #1 from forumone/master
Browse files Browse the repository at this point in the history
Fix top-level link touch handling - Issue adobe-accessibility#32
  • Loading branch information
ownsourcing authored Feb 19, 2018
2 parents 84b7461 + aa29bac commit 3bc9ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery-accessibleMegaMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ limitations under the License.
event.preventDefault();
event.stopPropagation();
this.justFocused = false;
} else if (isTouch) {
} else if (isTouch && !target.is("a")) {
event.preventDefault();
event.stopPropagation();
_togglePanel.call(this, event, target.hasClass(this.settings.openClass));
Expand Down

0 comments on commit 3bc9ef3

Please sign in to comment.