Skip to content

Commit

Permalink
option to hide homeUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnhoffer committed Oct 29, 2021
1 parent c02dbc0 commit 55ae79c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3123,6 +3123,9 @@ export const build_page = function(options) {
if (options.homeUrl != undefined) {
home_el.href = options.homeUrl;
}
else if (options.homeUrl === false){
home_el.className = 'd-none';
}
osd_el.id = options.id + '-openseadragon';
zoom_out_el.id = options.id + '-zoom-out';
zoom_in_el.id = options.id + '-zoom-in';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build": "webpack --mode production"
},
"name": "minerva-browser",
"version": "3.2.0",
"version": "3.2.1",
"description": "A storytelling interface atop openseadragon",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 55ae79c

Please sign in to comment.