Skip to content

Commit

Permalink
catch use of old _oab_config class names on old website pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark MacGillivray committed May 12, 2022
1 parent 48472e0 commit 5eec466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,9 @@ _oaw.prototype.configure = function(key, val, build, preview) {
return this.deposit(e);
});
}
if (el = _OA.gebi('_oaw_config')) {
el = _OA.gebi('_oaw_config');
if (!el) el = _OA.gebi('_oab_config');
if (el) {
ncwc = JSON.parse(JSON.stringify(wc));
nk = {
ill_institution: 'institution', // translate instantill old config keys
Expand Down
Loading

0 comments on commit 5eec466

Please sign in to comment.