Skip to content

Commit

Permalink
small initials profile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jul 17, 2018
1 parent 06c1297 commit decdacb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/js/base/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ ripe.Ripe.prototype._getImageOptions = function(options) {
params.crop = options.crop ? "1" : "0";
}

if (options.initials_profile) {
if (options.profile) {
params.initials_profile = options.profile.join(",");
}

Expand Down
2 changes: 1 addition & 1 deletion src/js/ripe-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/js/ripe.js
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ ripe.Ripe.prototype._getImageOptions = function(options) {
params.crop = options.crop ? "1" : "0";
}

if (options.initials_profile) {
if (options.profile) {
params.initials_profile = options.profile.join(",");
}

Expand Down
2 changes: 1 addition & 1 deletion src/python/ripe_demo/static/js/ripe.js
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ ripe.Ripe.prototype._getImageOptions = function(options) {
params.crop = options.crop ? "1" : "0";
}

if (options.initials_profile) {
if (options.profile) {
params.initials_profile = options.profile.join(",");
}

Expand Down

0 comments on commit decdacb

Please sign in to comment.