Removed Logging

This commit is contained in:
2019-03-31 17:26:26 +00:00
parent 6d8107c253
commit eb8bc62bef

View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name aniSearch Enhancer // @name aniSearch Enhancer
// @namespace http://git.nivram.io/marvinlehmann/ani-search-enhancer // @namespace http://git.nivram.io/marvinlehmann/ani-search-enhancer
// @version 1.71 // @version 1.72
// @description Adds buttons to the info site of an anime on aniSearch which links you directly to various streaming portals. // @description Adds buttons to the info site of an anime on aniSearch which links you directly to various streaming portals.
// @author Marvin Lehmann // @author Marvin Lehmann
// @grant GM_xmlhttpRequest // @grant GM_xmlhttpRequest
@@ -53,11 +53,8 @@ $(function () {
const $page_action_stream = $('#page-action-stream') const $page_action_stream = $('#page-action-stream')
const clickHandler = function (e) { const clickHandler = function (e) {
console.log(e);
if (e.target === e.currentTarget) { if (e.target === e.currentTarget) {
console.log("test");
const targetUrl = $stream_links.val(); const targetUrl = $stream_links.val();
console.log(targetUrl);
if (targetUrl) { if (targetUrl) {
window.open(targetUrl, '_blank'); window.open(targetUrl, '_blank');
} }