mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 20:40:48 +08:00
casting as string
This commit is contained in:
parent
2e398ba2a2
commit
67c16ec153
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ $(document).on(
|
|||
".pageSettings .section.presets .presetsList .preset .presetButton",
|
||||
(e) => {
|
||||
const target = e.currentTarget;
|
||||
const presetid = $(target).parent(".preset").attr("id");
|
||||
const presetid = $(target).parent(".preset").attr("id") as string;
|
||||
console.log("Applying Preset");
|
||||
configEventDisabled = true;
|
||||
PresetController.apply(presetid);
|
||||
|
|
Loading…
Reference in a new issue