Fix PHP warning in smarty template keyboard binding (#7616)

This commit is contained in:
frytimo
2025-11-15 21:46:51 -04:00
committed by GitHub
parent 63aa341d99
commit 9ebcbb75b8

View File

@@ -460,7 +460,7 @@
{/if} {/if}
//key: [ctrl]+[c], list,edit: to copy //key: [ctrl]+[c], list,edit: to copy
{if $settings.theme.keyboard_shortcut_copy_enabled} {if $settings.theme.keyboard_shortcut_copy_enabled|default:false}
{if $browser_name_short == 'Safari'} //emulate with detecting [c] only, as [command] and [control] keys are ignored when captured {if $browser_name_short == 'Safari'} //emulate with detecting [c] only, as [command] and [control] keys are ignored when captured
{literal} {literal}
if ( if (