From: Antonio Ospite Date: Fri, 23 Dec 2011 22:19:53 +0000 (+0100) Subject: Strip some trailing spaces X-Git-Tag: 0.3~2 X-Git-Url: https://git.ao2.it/GM_direct_download_links.git/commitdiff_plain/72efdc240d3eaac28d3a328d8d509af3fe758253 Strip some trailing spaces Signed-off-by: Antonio Ospite --- diff --git a/direct_download_links.user.js b/direct_download_links.user.js index 7da37b1..2dd4a6a 100644 --- a/direct_download_links.user.js +++ b/direct_download_links.user.js @@ -181,8 +181,8 @@ function _get_URL(site, element) { return; } - var evt = document.createEvent('Event'); - evt.initEvent('UrlFetched', true, true); + var evt = document.createEvent('Event'); + evt.initEvent('UrlFetched', true, true); evt.site = site; evt.URL = URL; document.dispatchEvent(evt); @@ -246,8 +246,8 @@ function _rai_get_actual_url(site, URL) { if (ref.length > 0) { href = ref[0].getAttribute('HREF');; - var evt = document.createEvent('Event'); - evt.initEvent('UrlFetched', true, true); + var evt = document.createEvent('Event'); + evt.initEvent('UrlFetched', true, true); evt.site = site; evt.URL = href; document.dispatchEvent(evt);