diff --git a/scripts/lists.js b/scripts/lists.js index f36c55b..60a7eb4 100644 --- a/scripts/lists.js +++ b/scripts/lists.js @@ -148,10 +148,10 @@ function gen_item_html(item,type="default",subtype=null){ tooltip=lists[item]["description"]; //When hovering over a list in the directory, display its description as a tooltip. } - var link = `href='index.php?page=lists&list=${item}' target='self_'`; + var link = `href='index.php?page=lists&list=${item}' target='_self'`; //By default, lists have internal links that change the query value to that list's title. Internal links should open in the same tab. if(lists[id].hasOwnProperty("type") && lists[item].type=="external"){ - link = `href='${lists[item]["link"]}' target='blank_'`; + link = `href='${lists[item]["link"]}' target='_blank'`; //For external lists, use their link instead of an internal link. External links should open in a new tab. } item_html = `