Skip to content

Commit 8e906d7

Browse files
committed
Avoid trailing <br/> in prompt
1 parent 5459712 commit 8e906d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.validationEngine.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@
731731
//funcCallRequired, first in rules, and has error, skip anything else
732732
if( i==0 && str.indexOf('funcCallRequired')==0 && errorMsg !== undefined ){
733733
if(promptText != '') {
734-
promptText += "<br/>"
734+
promptText += "<br/>";
735735
}
736736
promptText += errorMsg;
737737
options.isError=true;
@@ -747,7 +747,7 @@
747747
// If we have a string, that means that we have an error, so add it to the error message.
748748
if (typeof errorMsg == 'string') {
749749
if(promptText != '') {
750-
promptText += "<br/>"
750+
promptText += "<br/>";
751751
}
752752
promptText += errorMsg;
753753
options.isError = true;

0 commit comments

Comments
 (0)