Skip to content

Commit

Permalink
Be more permissive, for if the plugins are not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey committed May 30, 2023
1 parent 9d12ad1 commit 86daf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/mirador_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Object.entries(settings.mirador.viewers).forEach(entry => {
const [base, values] = entry;
once('mirador-viewer', base, context).forEach(() =>
Mirador.viewer(values, window.miradorPlugins)
Mirador.viewer(values, window.miradorPlugins || {})
);
});
},
Expand Down

0 comments on commit 86daf66

Please sign in to comment.