From 5bfbc5c0b5ab49c2a7c651327ce2e0f30f594985 Mon Sep 17 00:00:00 2001 From: Michal Stefanow Date: Mon, 9 Sep 2013 15:15:29 +0100 Subject: [PATCH] fix(gridster): remove_widget Returns the instance of the Gridster Class Following same pattern as remove_all_widgets --> remove_widget also return *this* (as per inlined comment documentation) --- src/jquery.gridster.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index a524ac86e3..9cc0a651aa 100644 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -479,6 +479,8 @@ callback.call(this, el); } }, this)); + + return this; };