Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 089fecb

Browse files
author
Gabriel Schulhof
committed
buttonMarkup: Remove popup special handling.
(cherry picked from commit 7696e9f) Conflicts: js/jquery.mobile.buttonMarkup.js
1 parent 8bc9b1b commit 089fecb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

js/jquery.mobile.buttonMarkup.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ $.fn.buttonMarkup = function( options ) {
5959
}
6060
}
6161

62-
if ( getAttrFixed( e, nsKey + "rel" ) === "popup" && el.attr( "href" ) ) {
63-
e.setAttribute( "aria-haspopup", true );
64-
e.setAttribute( "aria-owns", el.attr( "href" ) );
65-
}
66-
6762
// Check if this element is already enhanced
6863
buttonElements = $.data( ( ( e.tagName === "INPUT" || e.tagName === "BUTTON" ) ? e.parentNode : e ), "buttonElements" );
6964

0 commit comments

Comments
 (0)