mirror of
https://github.com/manilarome/the-glorious-startpage.git
synced 2024-11-24 00:23:39 +01:00
documentation
This commit is contained in:
parent
2719afbe5c
commit
26e86af56f
@ -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';
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user