tujidelv 3 年 前
コミット
dd0e4604ae
1 ファイル変更6 行追加6 行削除
  1. 6 6
      src/main/resources/static/js/my-voddetail.js

+ 6 - 6
src/main/resources/static/js/my-voddetail.js

@@ -152,18 +152,18 @@ function initDetail() {
                 $("#issuer").text(data.issuer);
 
                 if (data.genres == undefined || data.genres === '') {
-                    $("#genres").text('--');
+                    $("#genres").html('--');
                 } else {
-                    $("#genres").text(data.genres.replaceAll(",", " | "));
+                    $("#genres").html(data.genres.replaceAll(",", " | "));
                 }
                 if (data.cast == undefined || data.cast === '') {
-                    $("#cast").text('--');
+                    $("#cast").html('--');
                 } else {
-                    $("#cast").text(data.cast.replaceAll(",", " | "));
+                    $("#cast").html(data.cast.replaceAll(",", " | "));
                 }
 
-                $("#commentfirstspan").text(data.commentFirst);
-                $("#commentspan").text(data.comment);
+                $("#commentfirstspan").html(data.commentFirst);
+                $("#commentspan").html(data.comment);
 
                 var imgTitle = data.identificationCode + " " + data.name;
                 if (data.imgGFList.length > 0) {