From b6e2ab2fff8c5760c7869f42e2972e85f793eb91 Mon Sep 17 00:00:00 2001 From: stla Date: Fri, 27 Oct 2023 10:31:18 +0200 Subject: [PATCH] removed extra quote --- R/jstree.R | 2 +- man/jstree.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/jstree.R b/R/jstree.R index 3facbad..0e982e6 100644 --- a/R/jstree.R +++ b/R/jstree.R @@ -321,7 +321,7 @@ #' #' customMenu <- JS("function customMenu(node) #' { -#' var tree = $('#'mytree').jstree(true); +#' var tree = $('#mytree').jstree(true); #' var items = { #' 'rename' : { #' 'label' : 'Rename', diff --git a/man/jstree.Rd b/man/jstree.Rd index faca78d..94feea9 100644 --- a/man/jstree.Rd +++ b/man/jstree.Rd @@ -361,7 +361,7 @@ library(jsTreeR) customMenu <- JS("function customMenu(node) { - var tree = $('#'mytree').jstree(true); + var tree = $('#mytree').jstree(true); var items = { 'rename' : { 'label' : 'Rename',