Commit 433152f2 by Masaru Abe

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

parent 55ef29e7
...@@ -2326,17 +2326,15 @@ HOME.syncContentData = function() { ...@@ -2326,17 +2326,15 @@ HOME.syncContentData = function() {
}; };
HOME.isErrorContent = function(contentid) { HOME.isErrorContent = function(contentid) {
var isError = false;
for (var j = HOME.errorContent.length - 1; j >= 0; j--) { for (var j = HOME.errorContent.length - 1; j >= 0; j--) {
var contentErr = HOME.errorContent[j]; var contentErr = HOME.errorContent[j];
if (contentid == contentErr.contentid) { if (contentid == contentErr.contentid) {
return true; isError = true;
} break;
else {
return false;
} }
} }
return isError;
}; };
HOME.getExistContentPages = function() { 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