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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy