Skip to content

Commit 0630ec7

Browse files
author
Kurtis LoVerde
committed
clear empty lines
1 parent 2e448e2 commit 0630ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.restrictedtextfield.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@
135135
if( regexes.partialRegex !== undefined && regexes.partialRegex !== null ) {
136136
passesPartialRegex = regexes.partialRegex.test( this.value );
137137
}
138-
138+
139139
if( passesFullRegex ) {
140140
event = EVENT_VALIDATION_SUCCESS;
141141
} else if( passesPartialRegex ) {
142142
event = EVENT_VALIDATION_SUCCESS;
143143
} else {
144144
event = EVENT_VALIDATION_FAILED;
145145
}
146-
146+
147147
if( !passesPartialRegex && !passesFullRegex ) {
148148
if( settings.preventInvalidInput ) {
149149
event = EVENT_INPUT_IGNORED;

0 commit comments

Comments
 (0)