Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #20 from duckduckgo/brad/extend-template-imageprox…
Browse files Browse the repository at this point in the history
…y-helper

enable the passing of an object via handlebars
  • Loading branch information
brianhall committed Feb 13, 2020
2 parents ce0147f + b908ad2 commit 3a6753d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template_helpers.js
Expand Up @@ -384,8 +384,8 @@
*
*/

Handlebars.registerHelper("imageProxy", function(url) {
return DDG.getImageProxyURL(url);
Handlebars.registerHelper("imageProxy", function(url, options) {
return DDG.getImageProxyURL(url, options);
});

/**
Expand Down

0 comments on commit 3a6753d

Please sign in to comment.