(function ($) {
    "use strict";

    $('body').on('click', '.js-view-comment', function (e) {
        e.preventDefault();
        var $this = $(this);
        var comment_id = $this.attr('data-comment-id');
        var comment = $('#commentDescription' + comment_id).val();


        var html = `<div class="p-16">
            <div class="section-title d-flex align-items-center">
                <h3 class="section-title__heading">${commentLang}</h3>
            </div>

            <p class="text-gray-500 mt-20">${comment}</p>
        </div>`;

        Swal.fire({
            html: html,
            showCancelButton: false,
            showConfirmButton: false,
            customClass: {
                content: 'p-0 text-left',
            },
            width: '40rem',
        });


    });

})(jQuery);
