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:
@@ -13,7 +13,6 @@ module Sources
|
||||
Site.strategies.each do |strategy|
|
||||
if strategy.url_match?(url)
|
||||
@strategy = strategy.new(url)
|
||||
get
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user