diff --git a/ani-search-enhancer.user.js b/ani-search-enhancer.user.js index aae50d7..1575be5 100644 --- a/ani-search-enhancer.user.js +++ b/ani-search-enhancer.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name aniSearch Enhancer // @namespace http://github.com/marvinl97/ani-search-enhancer -// @version 1.0 +// @version 1.01 // @description Adds buttons to the info site of an anime on aniSearch which links you directly to various streaming portals. // @author Marvin Lehmann (marvinl97) // @grant none @@ -14,15 +14,17 @@ this.$ = this.jQuery = jQuery.noConflict(true); $(document).ready(function() { - $('head').append(''); - var animeTitleElem = document.getElementById('htitle'); - if(animeTitleElem !== null) - { - var animeTitle = animeTitleElem.innerText; - if(animeTitle) { - $('#page-action').append(''); - $('#page-action').append(''); - $('#page-action').append(''); - } - } -}); \ No newline at end of file + $('head').append(''); + var animeTitleElem = document.getElementById('htitle'); + if (animeTitleElem !== null) + { + var animeTitle = animeTitleElem.innerText; + if (animeTitle) + { + $('#page-action').append(''); + $('#page-action').append(''); + $('#page-action').append(''); + $('li#page-action-search a').css("color", $('li#page-action-search').css("color")); + } + } +});