Skip to content

Fix: Title translation doesn't match which id is after 744. #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
xuzaixian committed Mar 13, 2019
commit d141cb2163df63a8cb1c4cce6ef72487d8140ff1
2 changes: 1 addition & 1 deletion plugins/leetcode.cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ plugin.getProblems = function(cb) {
if (e) return cb(e);

problems.forEach(function(problem) {
const title = titles[problem.fid];
const title = titles[problem.id];
if (title)
problem.name = title;
});
Expand Down