diff --git a/js/menu.js b/js/menu.js index 26222198e3..7146eba63e 100644 --- a/js/menu.js +++ b/js/menu.js @@ -239,10 +239,21 @@ function renderTopicsByTagTable(tagToLookup,divID) } function renderTagsPage() { - if(window.location.pathname.indexOf("/glossary/")>-1) + if(window.location.pathname.indexOf("/glossary/")>-1 || window.location.pathname.indexOf("/search/")>-1) { - var tagToLookup = decodeURI(queryString().term); - $("#keyword").html(tagToLookup); + var tagToLookup; + if (window.location.pathname.indexOf("/glossary/")>-1) + { + // Get ?term= + tagToLookup = decodeURI(queryString().term); + $("#keyword").html(tagToLookup); + } + else + { + // Get ?q= + tagToLookup = decodeURI(queryString().q); + } + // Get the term and definition for (i=0;i" tree: false --- @@ -21,6 +21,9 @@ tree: false .gsc-control-cse, .gsc-control-cse-en { padding: 0px !important; } .gsc-result-info { padding-bottom: 0px !important; } + +
+
- + +
+ +