Skip to content

Commit

Permalink
no lens by default
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnhoffer committed Oct 31, 2022
1 parent 5117941 commit 2594bfc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build": "webpack --mode production"
},
"name": "minerva-browser",
"version": "3.3.3",
"version": "3.3.4",
"description": "A storytelling interface atop openseadragon",
"main": "index.js",
"repository": {
Expand Down
4 changes: 3 additions & 1 deletion state.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,9 @@ HashState.prototype = {
const exhibit = this.exhibit;
const first_g = index_name(this.cgs, this.design.first_group);
const first_group = (first_g != -1) ? this.cgs[first_g] : this.group;
const first_lens = this.lensing || {};
const first_lens = ((l) => {
if (l && Object.keys(l).length) return l;
})(this.lensing);
const group = mode != 'tag' ? first_group : this.group;
const a = this.a;
const o = this.o;
Expand Down

0 comments on commit 2594bfc

Please sign in to comment.