Skip to content

Commit 34a27ff

Browse files
Fix to comply with jshint
1 parent 564cffd commit 34a27ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/jquery-plugins.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@
5656
* * @return {jQuery}
5757
*/
5858
$.fn.validateOnEvent = function (language, config) {
59-
if(this.length === 0) return;
60-
59+
if(this.length === 0) {
60+
return;
61+
}
62+
6163
var $elements = this[0].nodeName === 'FORM' ? this.find('*[data-validation-event]') : this;
6264
$elements
6365
.each(function () {

0 commit comments

Comments
 (0)