The list of links created were not clickable on mobile devices

Created a variable testing if the action was touch or click. Then added
e.stopPropagation()