Removing duplicate custom-jekyll js

After docsy theme got merged these scripts aren't needed anymore.  Confirmed
after removing it (and all `<script>` references to it) the tooltip
functionality is still there.
Also removed the reference in `config.toml` to it, which may have stripped some
dangling whitespace.
This commit is contained in:
Jorge Gallegos
2020-07-02 12:12:15 -05:00
parent e935ad0001
commit f34fe97ba0
3 changed files with 2 additions and 19 deletions
-15
View File
@@ -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);
});
});
});