help class was only used for javascript
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user