first commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
(function($) {
|
||||
$(function() {
|
||||
|
||||
var i = 0;
|
||||
|
||||
$('.post-type-shop_order .edit_address .form-field').each(function () {
|
||||
if($(this).width() != 100){
|
||||
if(i % 2 == 0){
|
||||
$(this).addClass('form-left');
|
||||
}
|
||||
else{
|
||||
$(this).addClass('form-right');
|
||||
}
|
||||
i++;
|
||||
}
|
||||
else{
|
||||
i = 0;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user