diff --git a/src/definitions/modules/checkbox.js b/src/definitions/modules/checkbox.js index b5f2b11d3..8cb3f1112 100644 --- a/src/definitions/modules/checkbox.js +++ b/src/definitions/modules/checkbox.js @@ -93,9 +93,9 @@ $.fn.checkbox = function(parameters) { }, refresh: function() { - $module = $(this); - $label = $(this).find(selector.label).first(); - $input = $(this).find(selector.input); + $module = $(element); + $label = $(element).find(selector.label).first(); + $input = $(element).find(selector.input); }, observeChanges: function() {