help class was only used for javascript

This commit is contained in:
2016-10-21 15:47:59 +02:00
parent caf48d3ef5
commit f5eb69703a

View File

@@ -46,7 +46,7 @@ html(lang="en")
ul.bottom
| {% if project %}
li
button.help(
button.js-help(
type="button",
title="Help",
data-url="{{ url_for('attract.help', project_url=project.url) }}")
@@ -184,7 +184,7 @@ html(lang="en")
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.select2.min.js') }}", async=true)
script.
{% if project %}
$('.help').openModalUrl('Help', "{{ url_for('attract.help', project_url=project.url) }}");
$('.js-help').openModalUrl('Help', "{{ url_for('attract.help', project_url=project.url) }}");
{% endif %}
$(document).ready(function() {