fix name
This commit is contained in:
parent
b0b5da9447
commit
5ef6a9c5a7
8
main.js
8
main.js
@ -689,7 +689,7 @@
|
|||||||
createSendButtons()
|
createSendButtons()
|
||||||
}
|
}
|
||||||
|
|
||||||
function prettify(form, was, became, insertedFileRows) {
|
function prettifyEditCpForm(form, was, became, insertedFileRows) {
|
||||||
moveInputValues(form, was, became)
|
moveInputValues(form, was, became)
|
||||||
prettifyFiles(insertedFileRows)
|
prettifyFiles(insertedFileRows)
|
||||||
|
|
||||||
@ -698,7 +698,7 @@
|
|||||||
makeCoordinatesLinks()
|
makeCoordinatesLinks()
|
||||||
}
|
}
|
||||||
|
|
||||||
function uglify(form, was, became) {
|
function uglifyEditCpForm(form, was, became) {
|
||||||
moveInputValues(form, was, became)
|
moveInputValues(form, was, became)
|
||||||
for (const removedFileLink of removedFilesLinks) {
|
for (const removedFileLink of removedFilesLinks) {
|
||||||
removeDeletedFilesFromUglyVersion(removedFileLink)
|
removeDeletedFilesFromUglyVersion(removedFileLink)
|
||||||
@ -1142,7 +1142,7 @@
|
|||||||
prettifyButton.type = "button"
|
prettifyButton.type = "button"
|
||||||
prettifyButton.textContent = "Сделать красиво"
|
prettifyButton.textContent = "Сделать красиво"
|
||||||
prettifyButton.addEventListener("click", () => {
|
prettifyButton.addEventListener("click", () => {
|
||||||
prettify(form, oldTable, container, insertedFileRows)
|
prettifyEditCpForm(form, oldTable, container, insertedFileRows)
|
||||||
})
|
})
|
||||||
|
|
||||||
rowContentWrapper.appendChild(prettifyButton)
|
rowContentWrapper.appendChild(prettifyButton)
|
||||||
@ -1156,7 +1156,7 @@
|
|||||||
unglifyButton.type = "button"
|
unglifyButton.type = "button"
|
||||||
unglifyButton.textContent = "Сделать как было"
|
unglifyButton.textContent = "Сделать как было"
|
||||||
unglifyButton.addEventListener("click", () => {
|
unglifyButton.addEventListener("click", () => {
|
||||||
uglify(form, container, oldTable)
|
uglifyEditCpForm(form, container, oldTable)
|
||||||
})
|
})
|
||||||
|
|
||||||
let topRowContentWrapper = el.querySelector("div > div > div")
|
let topRowContentWrapper = el.querySelector("div > div > div")
|
||||||
|
Loading…
Reference in New Issue
Block a user