Explorar o código

chore: fix lint warnings.

Corps Zolea %!s(int64=6) %!d(string=hai) anos
pai
achega
1901e91659
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/js/subtitle.js

+ 1 - 1
src/js/subtitle.js

@@ -22,7 +22,7 @@ class Subtitle {
                 if (cue) {
                     const template = document.createElement('div');
                     template.appendChild(cue.getCueAsHTML());
-                    const trackHtml = template.innerHTML.split(/\r?\n/).map(item => `<p>${item}</p>`).join('');
+                    const trackHtml = template.innerHTML.split(/\r?\n/).map((item) => `<p>${item}</p>`).join('');
                     this.container.innerHTML = trackHtml;
                 }
                 this.events.trigger('subtitle_change');