Skip to content

Commit

Permalink
Remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Aug 7, 2023
1 parent 62023c0 commit 6359fe8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions web/js/datatables.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<?php echo "./$lang_file" ?>'}
<?php
Expand Down

0 comments on commit 6359fe8

Please sign in to comment.