Skip to content

Commit

Permalink
Using new invalid class
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 19, 2010
1 parent bed1c6c commit 363f68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/javascripts/form.js
Expand Up @@ -58,8 +58,8 @@ $(document).ready(function() {
},
errorPlacement: function(error, element) {
var $warningSpan = $('<span></span')
.css({'float': 'left', 'margin': '0.3em'})
.addClass('ui-icon ui-icon-alert'),
.css({'float': 'left', 'margin': '0.3em', 'padding-left': '5px'})
.addClass('ui-icon invalid'),
$parent = element.parent(),
$previousError = $parent.find('span.error');

Expand Down

0 comments on commit 363f68b

Please sign in to comment.