From 513fddffab755a5b4957c8e77c96da9f5560152b Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 4 Mar 2020 18:04:44 -0700 Subject: [PATCH] Functions: Add [space] to key_press() function. --- resources/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/functions.php b/resources/functions.php index 25049e2bf0..6007bf1b84 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -1587,6 +1587,9 @@ function number_pad($number,$n) { case 'backspace': $key_code = '(e.which == 8)'; break; + case 'space': + $key_code = '(e.which == 32)'; + break; case 'ctrl+s': $key_code = '(((e.which == 115 || e.which == 83) && (e.ctrlKey || e.metaKey)) || (e.which == 19))'; break;