Skip to content

Commit f1da62a

Browse files
committed
fix(potential threat): Fix potential threat disabling failuer
1 parent 6ee7c10 commit f1da62a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

js/cloudopt-core.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,8 +968,11 @@ cloudopt.grade = (function (cloudopt) {
968968
if (level <= 2) {
969969
safe = true;
970970
}
971-
if (level === 3 && config.safePotential) {
971+
if (level === 3) {
972+
if (config.safePotential)
972973
safe = false;
974+
else
975+
safe = true;
973976
}
974977
if (config.whiteList.indexOf(result.host) > -1 || config.whiteListAds.indexOf(result.host) > -1) {
975978
safe = true;

0 commit comments

Comments
 (0)