Don't call _get_URL() directly if we use the onEvent mechanism
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 23 Dec 2011 22:13:01 +0000 (23:13 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 23 Dec 2011 22:13:01 +0000 (23:13 +0100)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
direct_download_links.user.js

index 9f42a3f..6e4bbfd 100644 (file)
@@ -140,6 +140,7 @@ function direct_download_link_add(pageURL, site) {
       }
      _get_URL(site, element);
     }, false);
       }
      _get_URL(site, element);
     }, false);
+    return;
   }
 
   _get_URL(site, element);
   }
 
   _get_URL(site, element);