Fixed MacOS release (#3)
- Fixed MacOS release and moved UCL site into repository Reviewed-on: #3 Co-authored-by: Leon Mika <lmika@lmika.org> Co-committed-by: Leon Mika <lmika@lmika.org>
This commit is contained in:
parent
8dafa6fa8f
commit
bf879a8a78
58 changed files with 1930 additions and 102 deletions
17
_site/assets/js/controllers/keybindings_controller.js
Normal file
17
_site/assets/js/controllers/keybindings_controller.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { Controller } from "@hotwired/stimulus"
|
||||
|
||||
export class KeybindingsController extends Controller {
|
||||
static targets = [
|
||||
"showBindingNames",
|
||||
"keyBindingTable"
|
||||
];
|
||||
|
||||
bindingNamesChanged() {
|
||||
let showBindingNames = this.showBindingNamesTarget;
|
||||
if (showBindingNames.checked) {
|
||||
this.keyBindingTableTarget.classList.add("show-binding-names");
|
||||
} else {
|
||||
this.keyBindingTableTarget.classList.remove("show-binding-names");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue