Skip to content

Commit

Permalink
fix(gridster): remove_widget Returns the instance of the Gridster Class
Browse files Browse the repository at this point in the history
Following same pattern as remove_all_widgets --> remove_widget also
return *this* (as per inlined comment documentation)
  • Loading branch information
stefek99 authored and vieron committed Oct 26, 2013
1 parent ef626f8 commit 5bfbc5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jquery.gridster.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@
callback.call(this, el);
}
}, this));

return this;
};


Expand Down

0 comments on commit 5bfbc5c

Please sign in to comment.