// Remove the content, too
var elem_content = $("CICD-" + id);
- Element.remove(elem_content);
+ if (elem_content) {
+ Element.remove(elem_content);
+ }
if (id == getActiveArticleId()) {
setActiveArticleId(0);
// Remove the content, too
var elem_content = $("CICD-" + ids[i]);
- Element.remove(elem_content);
+ if (elem_content) {
+ Element.remove(elem_content);
+ }
} else {
tmp.push(ids[i]);
}
// Remove the content, too
var elem_content = $("CICD-" + ids[i]);
- Element.remove(elem_content);
+ if (elem_content) {
+ Element.remove(elem_content);
+ }
} else {
tmp.push(ids[i]);
}