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

Commit 57b245e

Browse files
author
Gabriel Schulhof
committed
Collapsible: Get rid of buttonMarkup.
1 parent e003997 commit 57b245e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

js/widgets/collapsible.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,9 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
102102
.wrapInner( "<a href='#' class='ui-collapsible-heading-toggle'></a>" )
103103
.find( "a" )
104104
.first()
105-
.buttonMarkup({
106-
shadow: false,
107-
corners: false,
108-
iconpos: o.iconpos,
109-
icon: o.collapsedIcon,
110-
mini: o.mini,
111-
theme: o.theme
112-
});
105+
.addClass( "ui-btn ui-btn-" + o.theme +
106+
" ui-icon ui-icon-" + o.collapsedIcon + " ui-btn-icon-" + o.iconpos +
107+
( o.mini ? " ui-mini" : "" ) );
113108

114109
$.extend( this, {
115110
_collapsibleHeading: collapsibleHeading,

0 commit comments

Comments
 (0)