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

Commit

Permalink
Removes extranious call to .
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilto committed Mar 6, 2012
1 parent 2726ead commit ea9d1ec
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions js/jquery.mobile.buttonMarkup.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ $.fn.buttonMarkup = function( options ) {
attachEvents();
}

// if not, try to find closest theme container
if ( !o.theme ) {
o.theme = $.mobile.getInheritedTheme( el, "c" );
}

buttonClass = "ui-btn ui-btn-up-" + o.theme;

if ( o.inline ) {
Expand Down

2 comments on commit ea9d1ec

@scottjehl
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Mat. Looks like this is the commit that took down collapsible theming. Judging by the commit message though, I'm not sure if it was maybe just a mistake? I'm going to revert. Please advise if you know of anything reverting will affect. Thanks!

@Wilto
Copy link
Contributor Author

@Wilto Wilto commented on ea9d1ec Mar 9, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh, thanks Scott. This is exactly why I moved my buttonMarkup changes to an experimental branch—for fear of breaking things.

Please sign in to comment.