This commit is contained in:
salam committed 2026-09-06 13:36:55 +02:00
1 parent 696e145b6e
commit 16a5249de6
1 file changed
+2 -2
+2 -2
View File
@@ -78,11 +78,11 @@ class BoardDispatcher extends Component
public function copyResult()
{
$copystring = shell_exec("Line One\nLine Two\nLine Three");
$copystring = `Line One\nLine Two\nLine Three`;
// foreach ($this->results as $row) {
// $copystring .= "`" . implode("\t", $row) . "\n`";
// }
$this->js("navigator.clipboard.writeText('{$copystring}')");
$this->js("navigator.clipboard.writeText(`Line One\nLine Two\nLine Three`)");
}