From 899fd8f71f34d8be3cb4dbc10a8e526bbacfadb8 Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 30 Apr 2014 14:28:07 -0400 Subject: [PATCH] Don't instantly make a request to get info when using bookmarklet Currently this is done twice: once when the page first loads (although this one isn't used) and then a second time asynchronously with javascript (which is used). This commit removes the first one, improving upload page load time. --- app/logical/sources/site.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/logical/sources/site.rb b/app/logical/sources/site.rb index d3404662e..b88d50201 100644 --- a/app/logical/sources/site.rb +++ b/app/logical/sources/site.rb @@ -13,7 +13,6 @@ module Sources Site.strategies.each do |strategy| if strategy.url_match?(url) @strategy = strategy.new(url) - get break end end