Skip to content

Commit d63f386

Browse files
committed
Remove the ugly #restore hash value
1 parent bef5f81 commit d63f386

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ repos:
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
1616
- repo: https://github.com/adamchainz/django-upgrade
17-
rev: 1.18.0
17+
rev: 1.21.0
1818
hooks:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.4.9"
22+
rev: "v0.6.4"
2323
hooks:
2424
- id: ruff
2525
- id: ruff-format
@@ -30,10 +30,10 @@ repos:
3030
additional_dependencies: ["@biomejs/[email protected]"]
3131
args: [--unsafe]
3232
- repo: https://github.com/tox-dev/pyproject-fmt
33-
rev: 2.1.3
33+
rev: 2.2.3
3434
hooks:
3535
- id: pyproject-fmt
3636
- repo: https://github.com/abravalheri/validate-pyproject
37-
rev: v0.18
37+
rev: v0.19
3838
hooks:
3939
- id: validate-pyproject

content_editor/static/content_editor/content_editor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@ django.jQuery(($) => {
760760
)
761761

762762
setTimeout(() => {
763+
window.history.replaceState(null, "", ".")
763764
window.scrollTo(0, state.scrollY)
764765
}, 200)
765766
} else {

0 commit comments

Comments
 (0)