From 72efdc240d3eaac28d3a328d8d509af3fe758253 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 23 Dec 2011 23:19:53 +0100 Subject: [PATCH] Strip some trailing spaces Signed-off-by: Antonio Ospite --- direct_download_links.user.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.1.4