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

Commit

Permalink
Reflow table: Remove function _enhanceReflow() because it is a one-li…
Browse files Browse the repository at this point in the history
…ner and it is being called only once.
  • Loading branch information
Gabriel Schulhof committed Jul 18, 2013
1 parent 3bf6821 commit 3fb928e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions js/widgets/table.reflow.js
Expand Up @@ -31,14 +31,10 @@ $.widget( "mobile.table", $.mobile.table, {
if( !opts.enhanced ) {
this.element.addClass( opts.classes.reflowTable );

this._enhanceReflow();
this._updateReflow();
}
},

_enhanceReflow: function() {
this._updateReflow();
},

refresh: function( create ) {
this._super( create );
if ( !create && this.options.mode === "reflow" ) {
Expand Down

0 comments on commit 3fb928e

Please sign in to comment.