Skip to content
This repository was archived by the owner on Feb 14, 2022. It is now read-only.

Commit d1c0af1

Browse files
committed
Release 1.2.4.1
1 parent 429a9db commit d1c0af1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "solved.ac",
3-
"version": "1.2.4",
3+
"version": "1.2.4.1",
44
"description": "Problem difficulty informations for BOJ",
55
"manifest_version": 2,
66
"author": "shiftpsh",

src/content/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ async function initializeVoting(problemId, defaultLevel, myVote) {
1919
})
2020
).json()
2121

22-
var user = currentUser
23-
if (user.level < 16) return
22+
var user = currentUser.user
23+
if (user.level < 16 && user.user_id !== "solvedac") return
2424
if (!document.querySelector(".label-success") && user.user_id !== "solvedac") return
2525

2626
const algorithms = await (await fetch("https://api.solved.ac/algorithms.php")).json()

0 commit comments

Comments
 (0)