Browse files

Fix error classes on connect dialog

  • Loading branch information...
1 parent 509ff4f commit 1247e25ecf3bc8e67a5939f7032fc56b7a56c666 @thedjpetersen committed Aug 26, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 assets/js/views/overview.js
View
6 assets/js/views/overview.js
@@ -59,13 +59,11 @@ var OverviewView = Backbone.View.extend({
password = $('#connect-password').val();
if (!server) {
- $('#connect-server').closest('.clearfix').addClass('error');
- $('#connect-server').addClass('error');
+ $('#connect-server').closest('.control-group').addClass('error');
}
if (!nick) {
- $('#connect-nick').closest('.clearfix').addClass('error');
- $('#connect-nick').addClass('error');
+ $('#connect-nick').closest('.control-group').addClass('error');
}
if (nick && server) {

0 comments on commit 1247e25

Please sign in to comment.