mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-09 15:35:25 +02:00
remove unused code
This commit is contained in:
parent
8f84303536
commit
96e4620df8
2 changed files with 1 additions and 8 deletions
2
public/dist/main.bundle.js
vendored
2
public/dist/main.bundle.js
vendored
File diff suppressed because one or more lines are too long
|
@ -73,13 +73,6 @@ export default class Writing {
|
|||
*/
|
||||
async saveButtonClicked(){
|
||||
const writingData = await this.getData();
|
||||
let formData = new FormData();
|
||||
|
||||
for ( let field in writingData ){
|
||||
if (!writingData.hasOwnProperty(field)) {
|
||||
formData.append(field, writingData[field])
|
||||
}
|
||||
}
|
||||
|
||||
fetch('/page', {
|
||||
method: 'PUT',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue