Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix error classes on connect dialog

  • Loading branch information...
commit 1247e25ecf3bc8e67a5939f7032fc56b7a56c666 1 parent 509ff4f
@thedjpetersen authored
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.
Something went wrong with that request. Please try again.