fix: bump annotation-viewer.js cache buster to v4

Browser was serving stale cached version without editor format
support (objects array). Bumped ?v=4 on all three templates:
recipe_preview, task_execute, task_editor.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Adriano
2026-02-08 01:26:20 +01:00
parent ffec59a105
commit 582543e821
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1075,7 +1075,7 @@
{% block extra_js %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js"></script>
<script>if(typeof pdfjsLib!=='undefined')pdfjsLib.GlobalWorkerOptions.workerSrc='https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';</script>
<script src="{{ url_for('static', filename='js/annotation-viewer.js') }}?v=3"></script>
<script src="{{ url_for('static', filename='js/annotation-viewer.js') }}?v=4"></script>
<script>
function taskEditor() {
return {