Permalink
Browse files

Collapsible: Add refresh() method which basically applies an empty se…

…t of options.
  • Loading branch information...
gabrielschulhof committed Jul 9, 2013
1 parent 17d7b77 commit f380d2a804ba3e9c74d79ace8604f587c8d1e218
Showing with 4 additions and 0 deletions.
  1. +4 −0 js/widgets/collapsible.js
@@ -170,6 +170,10 @@ $.widget( "mobile.collapsible", {
return ret;
},
refresh: function() {
this._setOptions( {} );
},
_setOptions: function( options ) {
var key,
opts = $.extend( {}, this.options, options ),

0 comments on commit f380d2a

Please sign in to comment.