Skip to content

Commit

Permalink
setUnedited after save
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Jan 30, 2023
1 parent 48e5a3f commit eb02035
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
/* "parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
}, */
"root": true,
"env": {
"browser": true,
Expand Down
4 changes: 2 additions & 2 deletions src/sourcePane.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = {
)
}

const myCompactButton = controls.appendChild(compactButton(dom)) // alain
const myCompactButton = controls.appendChild(compactButton(dom))
const cancelButton = controls.appendChild(UI.widgets.cancelButton(dom))
const saveButton = controls.appendChild(UI.widgets.continueButton(dom))
const myEditButton = controls.appendChild(editButton(dom))
Expand Down Expand Up @@ -247,7 +247,7 @@ module.exports = {
const response = await fetcher.webOperation('HEAD', subject.uri, defaultFetchHeaders())
if (!happy(response, 'HEAD')) return
getResponseHeaders(response) // get new eTag
setEdited()
setUnedited() // used to be setEdited()
} catch (err) {
throw err
}
Expand Down

0 comments on commit eb02035

Please sign in to comment.