Mercurial > zeropaste
annotate app/assets/javascripts/autosize-box-fix.js @ 266:c3080316b4dd
Removed extraneous prefixes, remove top border.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 16 Oct 2013 02:57:51 +0900 |
parents | e8a0e82213cd |
children |
rev | line source |
---|---|
97
e8a0e82213cd
Updated autosize from vendor, separated box size hack to its own function.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
1 (function($) { |
e8a0e82213cd
Updated autosize from vendor, separated box size hack to its own function.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
2 $.autosize_box_fix = function(elem) { |
e8a0e82213cd
Updated autosize from vendor, separated box size hack to its own function.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
3 elem.css('box-sizing', ''); |
e8a0e82213cd
Updated autosize from vendor, separated box size hack to its own function.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
4 elem.css('-webkit-box-sizing', ''); |
e8a0e82213cd
Updated autosize from vendor, separated box size hack to its own function.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
5 elem.css('-moz-box-sizing', ''); |
e8a0e82213cd
Updated autosize from vendor, separated box size hack to its own function.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
6 }; |
e8a0e82213cd
Updated autosize from vendor, separated box size hack to its own function.
Edho Arief <edho@myconan.net>
parents:
diff
changeset
|
7 }) (jQuery); |