Skip to content

Commit

Permalink
Update index.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed May 15, 2024
1 parent f960009 commit f94d0c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const elBtnBack = document.createElement('button');
elBtnBack.classList.add('btn', 'btn-primary', 'position-absolute', 'top-0', 'end-0', 'mt-3', 'me-3');
elBtnBack.textContent = 'Back';
elBtnBack.addEventListener('click', ()=>{
console.log(ud.cacheUrls)
ud.cacheUrls.pop();
if (ud.cacheUrls.length > 0) {
const elTag = document.createElement('a');
Expand Down Expand Up @@ -75,7 +74,6 @@ function tagLinkClickCaption(event, aLink) {
event.stopPropagation();
event.preventDefault();
}
console.log('22click', event, aLink, aLink.href)
const strHref = aLink.href;
ud.cacheUrls.push(strHref);
const ext = strHref.substring(strHref.lastIndexOf('.') + 1);
Expand Down

0 comments on commit f94d0c0

Please sign in to comment.