-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Key entry and click both hide error message. QUnit test doesn't work …
…for the click case.
- Loading branch information
tfarrell-vz
committed
Oct 17, 2014
1 parent
0e9ccc9
commit 037290f
Showing
3 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
/*global $, test, equal */ | ||
|
||
$('input').on('keypress', function() { | ||
$('.has-error').hide(); | ||
$(document).ready(function () { | ||
$('input').on('keypress', function() { | ||
$('.has-error').hide(); | ||
}); | ||
}); | ||
|
||
$(document).ready(function () { | ||
$('input').on('click', function() { | ||
$('.has-error').hide(); | ||
}); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters