Permalink
Browse files

buttonMarkup: Remove popup special handling.

(cherry picked from commit 7696e9f)

Conflicts:
	js/jquery.mobile.buttonMarkup.js
  • Loading branch information...
1 parent 8bc9b1b commit 089fecb1b478ff8a7148d367215dd46a25193711 @gabrielschulhof gabrielschulhof committed Apr 18, 2013
Showing with 0 additions and 5 deletions.
  1. +0 −5 js/jquery.mobile.buttonMarkup.js
@@ -59,11 +59,6 @@ $.fn.buttonMarkup = function( options ) {
}
}
- if ( getAttrFixed( e, nsKey + "rel" ) === "popup" && el.attr( "href" ) ) {
- e.setAttribute( "aria-haspopup", true );
- e.setAttribute( "aria-owns", el.attr( "href" ) );
- }
-
// Check if this element is already enhanced
buttonElements = $.data( ( ( e.tagName === "INPUT" || e.tagName === "BUTTON" ) ? e.parentNode : e ), "buttonElements" );

0 comments on commit 089fecb

Please sign in to comment.