view app/assets/javascripts/autosize-box-fix.js @ 150:88f957e0352b

No need for csrf protection Because there's no cookies/session to be protected.
author Edho Arief <edho@myconan.net>
date Mon, 26 Nov 2012 21:52:43 +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);