Skip to content

Commit

Permalink
Use $.fn.data method.
Browse files Browse the repository at this point in the history
  • Loading branch information
akzhan committed Sep 18, 2011
1 parent 437578d commit 4b00d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.wysiwyg.js
Original file line number Diff line number Diff line change
Expand Up @@ -2372,6 +2372,6 @@ html: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.o
};

$.fn.getWysiwyg = function () {
return $.data(this[0], "wysiwyg");
return this.data("wysiwyg");
};
})(jQuery);

0 comments on commit 4b00d12

Please sign in to comment.