alexdum commited on
Commit
b3cdfbe
·
1 Parent(s): 0c8f6bf

refactor: explicitly qualify the `JS` function call with `DT::`.

Browse files
Files changed (1) hide show
  1. server.R +1 -1
server.R CHANGED
@@ -1328,7 +1328,7 @@ server <- function(input, output, session) {
1328
  DT::datatable(df_display,
1329
  selection = "none",
1330
  rownames = FALSE,
1331
- callback = JS("
1332
  table.on('dblclick', 'tr', function() {
1333
  var rowData = table.row(this).data();
1334
  if (rowData !== undefined && rowData !== null) {
 
1328
  DT::datatable(df_display,
1329
  selection = "none",
1330
  rownames = FALSE,
1331
+ callback = DT::JS("
1332
  table.on('dblclick', 'tr', function() {
1333
  var rowData = table.row(this).data();
1334
  if (rowData !== undefined && rowData !== null) {