Commit 433152f2 by Masaru Abe

HOME.isErrorContentのロジックミス修正

parent 55ef29e7
......@@ -2326,17 +2326,15 @@ HOME.syncContentData = function() {
};
HOME.isErrorContent = function(contentid) {
var isError = false;
for (var j = HOME.errorContent.length - 1; j >= 0; j--) {
var contentErr = HOME.errorContent[j];
if (contentid == contentErr.contentid) {
return true;
}
else {
return false;
isError = true;
break;
}
}
return isError;
};
HOME.getExistContentPages = function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment