Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Fix top-level link touch handling - Issue adobe-accessibility#32
Browse files Browse the repository at this point in the history
  • Loading branch information
azinck committed Nov 2, 2017
1 parent 84b7461 commit aa29bac
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 aa29bac

Please sign in to comment.