Tepmlates fixes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{block title}Slovnik{/block}
|
||||
{layout ../@layout.latte}
|
||||
{block head}
|
||||
<script>
|
||||
$( document ).ready(function() {
|
||||
@@ -7,7 +6,7 @@ $( document ).ready(function() {
|
||||
event.preventDefault();
|
||||
id = $(this).attr("data-sound-id");
|
||||
var audioElement = document.createElement('audio');
|
||||
var link = {link Homepage:play 123456 };
|
||||
var link = {link Home:play 123456 };
|
||||
audioElement.setAttribute('src', link.replace('123456',id));
|
||||
console.log("Play sound:" + id);
|
||||
audioElement.play();
|
||||
@@ -56,8 +55,8 @@ $( document ).ready(function() {
|
||||
{$last == $term->string1 && trim($last2) != '' && trim($term->string2) != '' ? ', ' : ''}{$term->string2}{**
|
||||
Nutne kvoli newline
|
||||
**}
|
||||
{? $last = $term->string1}
|
||||
{? $last2 = $term->string2}
|
||||
{var $last = $term->string1}
|
||||
{var $last2 = $term->string2}
|
||||
{/foreach}
|
||||
</table>
|
||||
{/ifset}
|
||||
|
||||
Reference in New Issue
Block a user