diff options
author | rtz12 <koenig@fagott.pw> | 2016-01-25 19:01:15 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-01-25 19:01:15 (UTC) |
commit | d4b2422fd753df71be58d1a499194849b6e6d438 (patch) | |
tree | ac1b4eec67f6b83a955a82878b81ba2a1148fb0c /views/includes | |
parent | eaaa1ac2e509bf9df04aec24daa7286ab31089a9 (diff) |
JavaScript Kram auf Hippe ES6 Kacke umgebaut
Diffstat (limited to 'views/includes')
-rw-r--r-- | views/includes/instant_search_results.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/includes/instant_search_results.html b/views/includes/instant_search_results.html index 0dd445c..acdbb30 100644 --- a/views/includes/instant_search_results.html +++ b/views/includes/instant_search_results.html | |||
@@ -1,8 +1,8 @@ | |||
1 | {{ define "instant_search_results" }} | 1 | {{ define "instant_search_results" }} |
2 | {{ range .results }} | 2 | {{ range .results }} |
3 | <li class="collection-item search-result avatar hoverable valign-wrapper" onClick="clickSearchResult({{ .ID }})" > | 3 | <li class="collection-item search-result avatar hoverable valign-wrapper" data-id="{{ .ID }}"> |
4 | <img src="/{{ .ImagePath }}" alt="" class="circle"> | 4 | <img src="/{{ .ImagePath }}" alt="" class="circle"> |
5 | <span class="title valign">{ {{ .Name }} }</span> | 5 | <span class="title valign">{ {{ .Name }} }</span> |
6 | </li> | 6 | </li> |
7 | {{ end }} | 7 | {{ end }} |
8 | {{ end }} \ No newline at end of file | 8 | {{ end }} |