From be5e9eb761d5cf9e2e03c98d54aa301a64b8ba05 Mon Sep 17 00:00:00 2001 From: Abhishek Sinha Date: Wed, 22 Jan 2020 20:25:57 +0530 Subject: [PATCH] fixed a small html typo --- blockchainCloud_client.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blockchainCloud_client.html b/blockchainCloud_client.html index 3bbef00..228153f 100644 --- a/blockchainCloud_client.html +++ b/blockchainCloud_client.html @@ -9450,11 +9450,11 @@ Bitcoin.Util = { const cloudArticleApp = { - SUBJECT: "testArticle9", // BusinessDesign1 | testArticle9 + SUBJECT: "BusinessDesign1", // BusinessDesign1 | testArticle9 numberOfSections: 5, - CONTENT_TYPE: "typeContentCollab9", // BUSINESS_DESIGN | typeContentCollab9 + CONTENT_TYPE: "BUSINESS_DESIGN", // BUSINESS_DESIGN | typeContentCollab9 todaysContenthashList: [], @@ -9833,7 +9833,7 @@ Bitcoin.Util = { register_content_to_export: function(event) { let target = cloudArticleApp.getEventTarget(event); let article_id = target.id.substring(4); - let parent_heading_id = target.parentElement.parentElement.parentElement.parentElement.previousElementSibling.id; + let parent_heading_id = target.closest('.gallery-container').previousElementSibling.id; if(typeof cloudArticleApp.export_file_object[parent_heading_id]!=="object") { this.register_heading_to_export(parent_heading_id);