Joined March 2014
·

Khairi Husseini

Germany
·
·

Posted to Force redraw on an element (jQuery) over 1 year ago

Actually adding a return in front of $(this).each should do the trick for chaining.
$.fn.redraw = function(){
return $(this).each(function(){
var redraw = this.offsetHeight;
});
};

Achievements
19 Karma
0 Total ProTip Views
Interests & Skills