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:
@@ -436,7 +436,7 @@
|
||||
<script>
|
||||
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=2"></script>
|
||||
<script src="{{ url_for('static', filename='js/annotation-viewer.js') }}?v=4"></script>
|
||||
<script>
|
||||
/**
|
||||
* Recipe Preview - Minimal Alpine.js component
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user