Skip to content

Commit

Permalink
Remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian committed Oct 16, 2023
1 parent 31055b8 commit 53bb70c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions blocks/article/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ function initVersionDropdown(wrapper) {
const versionButton = versionsDropdown.querySelector('.version-button');
const versionsDropdownMenuContainer = versionsContainer.querySelector('.version-dropdown-menu');
const curVersionKey = getMetadata('version');
console.log('curVersionKey: ', curVersionKey);
console.log('store.product: ', store.product);
if (!store.product || curVersionKey === 'not-applicable' || !curVersionKey) {
versionsContainer.remove();
return;
Expand Down Expand Up @@ -149,7 +147,6 @@ function initVersionDropdown(wrapper) {
store.product,
);

console.log('json: ', json);
if (!json) return;

const curVersion = json.data.find((row) => row.Key === curVersionKey);
Expand Down

0 comments on commit 53bb70c

Please sign in to comment.