We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b5c13e commit 931cd68Copy full SHA for 931cd68
webcompat/templates/cssfixme.html
@@ -13,7 +13,13 @@
13
<label>
14
<input type="checkbox" name="compact">Compact output (whitespace only after closing brace)</label>
15
<pre id="fixedcss"></pre>
16
- <script src="/js/cssfixme.min.js"></script>
+ {%- block extrascripts -%}
17
+ {%- if config.PRODUCTION or config.DEVELOPMENT -%}
18
+ <script src="{{ url_for('static', filename='js/cssfixme.min.js')|bust_cache }}"></script>
19
+ {%- else -%}
20
+ <script src="{{ url_for('static', filename='js/lib/css-fixme.js') }}"></script>
21
+ {%- endif -%}
22
+ {%- endblock %}
23
</main>
24
</div>
25
{% endblock %}
0 commit comments