Updated NPM packages + cleaned up context object usage.

This commit is contained in:
flash 2024-02-10 17:23:47 +00:00
parent 7d23bea36c
commit 85a9fd2422
18 changed files with 250 additions and 267 deletions
src/mami.js

View file

@ -225,7 +225,7 @@ Umi.Parsing = (function() {
},
});
if(mami.getSettings().get('motivationalImages'))
if(mami.settings.get('motivationalImages'))
html = motivFrame(
extractMotiv(element),
html
@ -306,7 +306,7 @@ Umi.Parsing = (function() {
},
});
if(mami.getSettings().get('motivationalVideos'))
if(mami.settings.get('motivationalVideos'))
html = motivFrame(
extractMotiv(element),
html