Skip to content

Commit

Permalink
Remove the ugly #restore hash value
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Sep 10, 2024
1 parent bef5f81 commit d63f386
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.18.0
rev: 1.21.0
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.9"
rev: "v0.6.4"
hooks:
- id: ruff
- id: ruff-format
Expand All @@ -30,10 +30,10 @@ repos:
additional_dependencies: ["@biomejs/[email protected]"]
args: [--unsafe]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.1.3
rev: 2.2.3
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.18
rev: v0.19
hooks:
- id: validate-pyproject
1 change: 1 addition & 0 deletions content_editor/static/content_editor/content_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ django.jQuery(($) => {
)

setTimeout(() => {
window.history.replaceState(null, "", ".")
window.scrollTo(0, state.scrollY)
}, 200)
} else {
Expand Down

0 comments on commit d63f386

Please sign in to comment.