mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-02 21:39:35 +00:00
Merge ac00e332be into 1650ade338
This commit is contained in:
commit
8987a1e7ef
8 changed files with 239 additions and 2 deletions
|
|
@ -27,7 +27,12 @@ class RegisterEventHelper {
|
|||
constructor() {
|
||||
this.registerTooltips();
|
||||
this.configureDropdowns();
|
||||
this.registerSpecialCharInput();
|
||||
|
||||
// Only register special character input if enabled in configuration
|
||||
const keybindingsEnabled = document.body.dataset.keybindingsSpecialCharacters !== 'false';
|
||||
if (keybindingsEnabled) {
|
||||
this.registerSpecialCharInput();
|
||||
}
|
||||
|
||||
//Initialize ClipboardJS
|
||||
this.registerLoadHandler(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue