view app/assets/javascripts/autosize-box-fix.js @ 97:e8a0e82213cd

Updated autosize from vendor, separated box size hack to its own function.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 09:35:55 +0700
parents
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);