From 6359fe8f1191d99ac4c0d9b03c86832b1d3e6c3a Mon Sep 17 00:00:00 2001 From: campbell-m <87438215+campbell-m@users.noreply.github.com> Date: Mon, 7 Aug 2023 16:08:57 +0100 Subject: [PATCH] Remove obsolete comment --- web/js/datatables.js.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/js/datatables.js.php b/web/js/datatables.js.php index 04b50b78fe..359c36e0cb 100644 --- a/web/js/datatables.js.php +++ b/web/js/datatables.js.php @@ -232,11 +232,6 @@ function makeDataTable(id, specificOptions, fixedColumnsOptions) // Set the language file to be used if ($lang_file = get_datatable_lang_path()) { - // If using the language.url way of loading a DataTables language file, - // then the file must be valid JSON. The .lang files that can be - // downloaded from GitHub are not valid JSON as they contain comments. They - // therefore cannot be used with language.url, but instead have to be - // included directly. ?> defaultOptions.language = {url: ''}