Skip to content

Commit 19c7aa0

Browse files
author
Mike Taylor
committed
Issue #3033 - Include bugform.js on homepage when in form-v2 experiment
1 parent 59e76ad commit 19c7aa0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webcompat/templates/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,11 @@
2020
<script src="{{ url_for('static', filename='js/lib/models/label-list.js') }}"></script>
2121
<script src="{{ url_for('static', filename='js/lib/models/issue.js') }}"></script>
2222
<script src="{{ url_for('static', filename='js/lib/untriaged.js') }}"></script>
23+
{# Normally this file is in the webcompat bundle, but the form-v2 #}
24+
{# experiment does not include it. So include it here. #}
25+
{# this can be removed when https://github.com/webcompat/webcompat.com/issues/3034 is fixed. #}
26+
{% if ab_active('exp') == 'form-v2' %}
27+
<script src="{{ url_for('static', filename='js/lib/bugform.js') }}"></script>
28+
{% endif %}
2329
{%- endif -%}
2430
{%- endblock %}

0 commit comments

Comments
 (0)