Skip to content

Commit f8dfa09

Browse files
committed
Merge pull request victorjonsson#108 from spalax/remove_invalid_console_call
Useless call to the window cause the google closure compiler to fail
2 parents a4b443f + 0bd9fe1 commit f8dfa09

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

form-validator/jquery.form-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@
510510
*/
511511
$.validationSetup = function(conf) {
512512
if( typeof console != 'undefined' && console.warn ) {
513-
window.console.warn('Using deprecated function $.validationSetup, pls use $.validate instead');
513+
console.warn('Using deprecated function $.validationSetup, pls use $.validate instead');
514514
}
515515
$.validate(conf);
516516
};

0 commit comments

Comments
 (0)