primo commit
This commit is contained in:
9
media/plg_system_jooa11y/js/jooa11y.js
Normal file
9
media/plg_system_jooa11y/js/jooa11y.js
Normal file
@ -0,0 +1,9 @@
|
||||
import { Lang, Sa11y } from 'sa11y';
|
||||
import Sa11yLang from 'sa11y-lang';
|
||||
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
Lang.addI18n(Sa11yLang.strings);
|
||||
window.addEventListener('load', () => {
|
||||
// eslint-disable-next-line no-new
|
||||
new Sa11y(Joomla.getOptions('jooa11yOptions', {}));
|
||||
});
|
||||
Reference in New Issue
Block a user