Separated settings core and UI code.

This commit is contained in:
flash 2024-01-22 21:45:39 +00:00
parent 5514c8fdc6
commit f539c46954
21 changed files with 1172 additions and 1229 deletions
src/mami.js

View file

@ -1,5 +1,4 @@
#include messages.js
#include settings.js
#include utility.js
#include ui/markup.js
@ -226,7 +225,7 @@ Umi.Parsing = (function() {
},
});
if(Umi.Settings.get('motivationalImages'))
if(mami.getSettings().get('motivationalImages'))
html = motivFrame(
extractMotiv(element),
html
@ -307,7 +306,7 @@ Umi.Parsing = (function() {
},
});
if(Umi.Settings.get('motivationalVideos'))
if(mami.getSettings().get('motivationalVideos'))
html = motivFrame(
extractMotiv(element),
html