Skip to content

Commit 8dd4429

Browse files
committed
fix trans methods lowercase when using old methods
1 parent f545a8e commit 8dd4429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trans.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@
397397
* @param {String} methodName method's name
398398
*/
399399
Me.setCurrentMethod = function(methodName) {
400-
this.strans(methodName);
400+
this.strans(methodName.toLowerCase());
401401
};
402402

403403
/**

0 commit comments

Comments
 (0)