Skip to content

Commit

Permalink
added heeaders option
Browse files Browse the repository at this point in the history
  • Loading branch information
smelzer committed Jan 2, 2019
1 parent a5c0d84 commit c5e5c2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion www/PhotoViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ exports.show = function(url, title, options) {
options.copyToReference = false;
}

var args = [url, title, options.share, options.closeButton, options.copyToReference];
if (options.headers === undefined) {
options.headers = '';
}

var args = [url, title, options.share, options.closeButton, options.copyToReference, options.headers];

exec(function() {}, function() {}, "PhotoViewer", "show", args);
};

0 comments on commit c5e5c2f

Please # to comment.