Commit bf49d48
committed
fix(studio): revert handleHistoryHotkey scope creep per review
Restore the original `const key = event.key.toLowerCase()` extraction
and drop the fallow-ignore-next-line that was only needed because the
rewrite introduced extra inline calls. The cross-origin fix lives in
syncPreviewHistoryHotkey, not in the handler body.1 parent da69a25 commit bf49d48
1 file changed
Lines changed: 14 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
376 | 368 | | |
377 | 369 | | |
378 | 370 | | |
| |||
0 commit comments