Migration of Globalize to ES6 module

This commit is contained in:
Cameron 2020-07-18 09:21:15 +01:00
parent a9246f8f39
commit 76a037b7c2
34 changed files with 92 additions and 89 deletions

View file

@ -133,7 +133,7 @@ function embed(options, self) {
require(['text!./subtitlesettings.template.html'], function (template) {
options.element.classList.add('subtitlesettings');
options.element.innerHTML = globalize.translateDocument(template, 'core');
options.element.innerHTML = globalize.translateHtml(template, 'core');
options.element.querySelector('form').addEventListener('submit', self.onSubmit.bind(self));