mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-20 09:11:40 +01:00
JSCS: Stick colons to object property names
The `{url: param}"` seems like an odd comparitor
This commit is contained in:
@@ -1177,7 +1177,7 @@ $.extend($.validator, {
|
||||
previous.originalMessage = this.settings.messages[element.name].remote;
|
||||
this.settings.messages[element.name].remote = previous.message;
|
||||
|
||||
param = typeof param === "string" && {url:param} || param;
|
||||
param = typeof param === "string" && {url: param} || param;
|
||||
|
||||
if ( previous.old === value ) {
|
||||
return previous.valid;
|
||||
|
||||
Reference in New Issue
Block a user