Merge "Improve test coverage for ApiMain.php"
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.changecredentials.js
index 9592879..ad8a4f4 100644 (file)
@@ -17,7 +17,7 @@
                                        currentApiPromise = undefined;
                                }
 
-                               password = $.trim( password );
+                               password = password.trim();
 
                                if ( password === '' ) {
                                        self.setErrors( [] );