From: Antonio Ospite Date: Fri, 23 Dec 2011 22:13:01 +0000 (+0100) Subject: Don't call _get_URL() directly if we use the onEvent mechanism X-Git-Tag: 0.3~5 X-Git-Url: https://git.ao2.it/GM_direct_download_links.git/commitdiff_plain/9fc53115a6ded84ac5e87773e4bfc38f9a801115 Don't call _get_URL() directly if we use the onEvent mechanism Signed-off-by: Antonio Ospite --- diff --git a/direct_download_links.user.js b/direct_download_links.user.js index 9f42a3f..6e4bbfd 100644 --- a/direct_download_links.user.js +++ b/direct_download_links.user.js @@ -140,6 +140,7 @@ function direct_download_link_add(pageURL, site) { } _get_URL(site, element); }, false); + return; } _get_URL(site, element);