From 5827a36d7a3987231be3c4fa76d56671e278a947 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 1 Mar 2023 08:22:30 +0100 Subject: [PATCH] Remove unused method --- assets/js/utils/calendar_default_view.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/assets/js/utils/calendar_default_view.js b/assets/js/utils/calendar_default_view.js index 741ccb6c..577ff11f 100755 --- a/assets/js/utils/calendar_default_view.js +++ b/assets/js/utils/calendar_default_view.js @@ -1148,24 +1148,6 @@ App.Utils.CalendarDefaultView = (function () { }); } - // /** - // * Convert titles to HTML - // * - // * On some calendar events the titles contain html markup that is not displayed properly due to the - // * FullCalendar plugin. This plugin sets the .fc-event-title value by using the $.text() method and - // * not the $.html() method. So in order for the title to display the html properly we convert all the - // * .fc-event-titles where needed into html. - // */ - // function convertTitlesToHtml() { - // // Convert the titles to html code. - // $('.fc-custom').each((index, customEventElement) => { - // const title = $(customEventElement).find('.fc-event-title').text(); - // $(customEventElement).find('.fc-event-title').html(title); - // const time = $(customEventElement).find('.fc-event-time').text(); - // $(customEventElement).find('.fc-event-time').html(time); - // }); - // } - /** * Refresh Calendar Appointments *