From ca374098a2088ac13339e43012411aa1ca081962 Mon Sep 17 00:00:00 2001 From: mkranjcev Date: Thu, 31 Aug 2023 10:01:51 +0200 Subject: [PATCH] Doc updateQueryString: / cleans URL with no query --- R/bookmark-state.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/bookmark-state.R b/R/bookmark-state.R index c9c200a477..496ef3a83f 100644 --- a/R/bookmark-state.R +++ b/R/bookmark-state.R @@ -550,7 +550,8 @@ restoreInput <- function(id, default) { #' When `mode = "push"`, the function called is #' `window.history.pushState(null, null, queryString)`. #' -#' @param queryString The new query string to show in the location bar. +#' @param queryString The new query string to show in the location bar. "?" for +#' empty query arguments, "/" to reset to a clean URL. #' @param mode When the query string is updated, should the the current history #' entry be replaced (default), or should a new history entry be pushed onto #' the history stack? The former should only be used in a live bookmarking