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.
This commit is contained in:
Toks
2014-04-30 14:28:07 -04:00
parent ce2bcc4570
commit 899fd8f71f

View File

@@ -13,7 +13,6 @@ module Sources
Site.strategies.each do |strategy|
if strategy.url_match?(url)
@strategy = strategy.new(url)
get
break
end
end