diff --git a/js/dock-buttons.js b/js/dock-buttons.js index 4fdae2e..eb75222 100644 --- a/js/dock-buttons.js +++ b/js/dock-buttons.js @@ -31,14 +31,17 @@ const generateFromList = () => { var icon = dockSites[i].icon; var url = dockSites[i].url; + // Create a href var aDock = document.createElement('a'); aDock.className = 'dockLink'; aDock.href = url; + // Create div container var dockButton = document.createElement('div'); dockButton.id = 'button' + i; dockButton.className = 'dockButton'; + // Create div container for button icon var buttonImage = document.createElement('div'); buttonImage.id = 'buttonImage' + i; buttonImage.className = 'dockButtonImage'; diff --git a/js/web-menu.js b/js/web-menu.js index 6a8ea3e..b33c09a 100644 --- a/js/web-menu.js +++ b/js/web-menu.js @@ -38,6 +38,7 @@ const populateWebMenu = () => { // Add mouseup event createCallback(li, url); + // Create a href var aWebLink = document.createElement('a'); aWebLink.className = 'webMenuLink'; aWebLink.href = url;