Merge pull request #4017 from christianbeeznest/ofaj19044-coursintro3
Tool intro: Fix translate html by user language - refs BT#19044pull/4020/head
commit
1ad423f718
@ -1,3 +1,6 @@ |
||||
/** This JS will be included when loading an HTML in the Document tool */ |
||||
|
||||
require('./translatehtml.js'); |
||||
import translateHtml from './translatehtml.js'; |
||||
document.addEventListener('DOMContentLoaded', function () { |
||||
translateHtml(); |
||||
}); |
||||
|
Loading…
Reference in new issue