forked from server/soundboard
fixed quoting in ajax call
removed href since onclick seems to work fine
This commit is contained in:
parent
26bb3dca85
commit
4aa9f92848
@ -38,7 +38,7 @@
|
|||||||
<section id="sounds">
|
<section id="sounds">
|
||||||
<div><input type="text" id="search" autofocus/><span id="reset">⨯</span></div>
|
<div><input type="text" id="search" autofocus/><span id="reset">⨯</span></div>
|
||||||
{% for sound in sounds %}
|
{% for sound in sounds %}
|
||||||
<div class="sound"><a href="{{ '/play/' + sound | urlencode }}" onclick="ajaxRequest({{ sound | urlencode }});">{{ sound.split('.', 1)[0] }}</a></div>
|
<div class="sound"><a onclick="ajaxRequest('{{ sound | urlencode }}');">{{ sound.split('.', 1)[0] }}</a></div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
<section id="youtube">
|
<section id="youtube">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user