ソースを参照

chore: fix lint warnings.

Corps Zolea 6 年 前
コミット
1901e91659
1 ファイル変更1 行追加1 行削除
  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');