mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-25 01:04:06 +00:00
Fix typos (#404)
* Fix typos: Interupt -> Interrupt * Fix typos: tempateManagerRow -> templateManagerRow * Fix some typos * Fix typos: Convertable -> Convertible * Fix some typos
This commit is contained in:
@@ -184,7 +184,7 @@ class ManageTemplates extends ComfyDialog {
|
||||
'div',
|
||||
{
|
||||
dataset: { id: i.toString() },
|
||||
className: 'tempateManagerRow',
|
||||
className: 'templateManagerRow',
|
||||
style: {
|
||||
display: 'grid',
|
||||
gridTemplateColumns: '1fr auto',
|
||||
@@ -206,7 +206,7 @@ class ManageTemplates extends ComfyDialog {
|
||||
|
||||
// rearrange the elements
|
||||
this.element
|
||||
.querySelectorAll('.tempateManagerRow')
|
||||
.querySelectorAll('.templateManagerRow')
|
||||
.forEach((el: HTMLElement, i) => {
|
||||
var prev_i = Number.parseInt(el.dataset.id)
|
||||
|
||||
@@ -329,7 +329,7 @@ class ManageTemplates extends ComfyDialog {
|
||||
var that = this
|
||||
setTimeout(function () {
|
||||
that.element
|
||||
.querySelectorAll('.tempateManagerRow')
|
||||
.querySelectorAll('.templateManagerRow')
|
||||
.forEach((el: HTMLElement, i) => {
|
||||
el.dataset.id = i.toString()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user