refactor: explicitly qualify the `JS` function call with `DT::`.
Browse files
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) {
|