diff --git a/config.toml b/config.toml index 0fd6436b92..96e88a2135 100644 --- a/config.toml +++ b/config.toml @@ -153,7 +153,6 @@ css = [ "custom-jekyll/tags" ] js = [ - "custom-jekyll/tags", "script" ] diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 43d1a91c67..270358f7f5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -84,6 +84,5 @@ {{ end }} - {{ with .Params.js }}{{ range (split . ",") }} {{ end }}{{ else }}{{ end }} \ No newline at end of file diff --git a/static/js/custom-jekyll/tags.js b/static/js/custom-jekyll/tags.js deleted file mode 100644 index d99660ee60..0000000000 --- a/static/js/custom-jekyll/tags.js +++ /dev/null @@ -1,15 +0,0 @@ -$( document ).ready(function() { - // Shows permalink when term name is hovered over - $(".glossary-injector").each(function() { - var placeholder = $("#" + $(this).data("placeholder-id")); - var originalContent = placeholder.html(); - - var glossaryDef = $($(this).find(".injector-def")[0]).html(); - - $(this).mouseenter(function() { - placeholder.html(glossaryDef); - }).mouseleave(function(){ - placeholder.html(originalContent); - }); - }); -});