From 8a6687a063528f2fbc4305c10daaaccfc1edd2ab Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 27 May 2024 18:07:20 +0700 Subject: [PATCH] can't use argument for default value --- html5/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5/index.html b/html5/index.html index b67d491d..50747606 100644 --- a/html5/index.html +++ b/html5/index.html @@ -784,7 +784,7 @@

Xpra Bug Report

cpoll = !ssl; } const clipboard_poll = getboolparam("clipboard_poll", cpoll); - const clipboard_preferred_format = getparam("clipboard_preferred_format", "text/plain"); + const clipboard_preferred_format = getparam("clipboard_preferred_format") || "text/plain"; const printing = getboolparam("printing", true); const file_transfer = getboolparam("file_transfer", true); const steal = getboolparam("steal", true);