Skip to content

Commit c0d2366

Browse files
author
Dylan McCall
committed
Define screenReaderText to appease twentysixteen's JavaScript
1 parent b81a121 commit c0d2366

File tree

1 file changed

+6
-0
lines changed
  • python_env/src/cc.engine/cc/engine/templates/macros_templates

1 file changed

+6
-0
lines changed

python_env/src/cc.engine/cc/engine/templates/macros_templates/deed.html

+6
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ <h2>
186186
{% endblock %}
187187
</div>
188188

189+
<script type='text/javascript'>
190+
/* <![CDATA[ */
191+
var screenReaderText = {"expand":"{% trans %}expand child menu{% endtrans %}","collapse":"{% trans %}collapse child menu{% endtrans %}"};
192+
/* ]]> */
193+
</script>
194+
189195
<script type='text/javascript' src='https://creativecommons.org/wp-content/themes/twentysixteen/js/functions.js'></script>
190196
<script type='text/javascript' src='https://creativecommons.org/wp-content/themes/cc/js/breakpoint-body-class.js'></script>
191197
<script type='text/javascript' src='https://creativecommons.org/wp-content/themes/cc/js/sticky-nav.js'></script>

0 commit comments

Comments
 (0)