diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/assets/javascripts/autosize-box-fix.js	Mon Nov 12 09:35:55 2012 +0700
@@ -0,0 +1,7 @@
+(function($) {
+  $.autosize_box_fix = function(elem) {
+    elem.css('box-sizing', '');
+    elem.css('-webkit-box-sizing', '');
+    elem.css('-moz-box-sizing', '');
+  };
+}) (jQuery);