Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d141cb2

Browse files
author
xuzaixian
committed
Fix: Title translation doesn't match which id is after 744.
Question id is no longer equal to fId which id is after 744. Using 'fid' to find translation instead.
1 parent 752e94e commit d141cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/leetcode.cn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ plugin.getProblems = function(cb) {
7474
if (e) return cb(e);
7575

7676
problems.forEach(function(problem) {
77-
const title = titles[problem.fid];
77+
const title = titles[problem.id];
7878
if (title)
7979
problem.name = title;
8080
});

0 commit comments

Comments
 (0)