From a59ac30ba12b212d4dce0f99ebb9d1ecce14a455 Mon Sep 17 00:00:00 2001 From: PeterTakahashi Date: Thu, 23 Jun 2022 16:40:16 +0900 Subject: [PATCH] change html view from text --- vendor/assets/javascripts/data-confirm-modal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor/assets/javascripts/data-confirm-modal.js b/vendor/assets/javascripts/data-confirm-modal.js index c3e0f3f..a7cf420 100644 --- a/vendor/assets/javascripts/data-confirm-modal.js +++ b/vendor/assets/javascripts/data-confirm-modal.js @@ -211,7 +211,7 @@ }); modal.css('z-index', parseInt(highest) + 1); - modal.find('.modal-title').text(options.title || settings.title); + modal.find('.modal-title').html(options.title || settings.title); var body = modal.find('.modal-body'); @@ -220,11 +220,11 @@ }); var commit = modal.find('.commit'); - commit.text(options.commit || settings.commit); + commit.html(options.commit || settings.commit); commit.addClass(options.commitClass || settings.commitClass); var cancel = modal.find('.cancel'); - cancel.text(options.cancel || settings.cancel); + cancel.html(options.cancel || settings.cancel); cancel.addClass(options.cancelClass || settings.cancelClass); if (options.remote) {