Skip to content

Commit

Permalink
Always include DateTime CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
mikmart committed Jan 22, 2024
1 parent 8567e0b commit d9d0a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/datatables.R
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ extDependency = function(extension, style, options) {
} else js = sprintf('dataTables.%s.min.js', ext)
if (style != 'default') js = c(js, sprintf('%s.%s.min.js', ext, style))
css = sprintf('%s.%s.min.css', ext, if (style == 'default') 'dataTables' else style)
if (extension == 'DateTime') css = sprintf('dataTables.%s.min.css', ext)
js = file.path('js', js); css = file.path('css', css)
in_dir(src, {
js = existing_files(js); css = existing_files(css)
Expand Down

0 comments on commit d9d0a2a

Please sign in to comment.