client/posts: remove cache buster query string on post file change

Since filenames now use the new file's sha1.
This commit is contained in:
Eva 2023-05-22 11:53:23 +02:00
parent a2d8454880
commit 90cc0b3d59
2 changed files with 0 additions and 8 deletions

View file

@ -88,7 +88,6 @@ class PostContentControl {
_evtPostContentChange(e) {
this._post = e.detail.post;
this._post.mutateContentUrl();
this._reinstall();
}

View file

@ -454,13 +454,6 @@ class Post extends events.EventTarget {
});
}
mutateContentUrl() {
this._contentUrl =
this._orig._contentUrl +
"?bypass-cache=" +
Math.round(Math.random() * 1000);
}
_updateFromResponse(response) {
const map = () => ({
_version: response.version,