view app/assets/javascripts/autosize-box-fix.js @ 132:e05e47f7d224

Add raw texts first before doing anything with them.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 17:27:53 +0700
parents e8a0e82213cd
children
line wrap: on
line source

(function($) {
  $.autosize_box_fix = function(elem) {
    elem.css('box-sizing', '');
    elem.css('-webkit-box-sizing', '');
    elem.css('-moz-box-sizing', '');
  };
}) (jQuery);