Merge "Update jscs and jshint config"
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.util.js
index e2fa123..887885e 100644 (file)
                                // RegExp is case insensitive
                                'i'
                        );
-                       return ( null !== mailtxt.match( html5EmailRegexp ) );
+                       return ( mailtxt.match( html5EmailRegexp ) !== null );
                },
 
                /**