Merge remote-tracking branch 'origin/master' into dev
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 20s
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 20s
This commit is contained in:
commit
9ca17e6fd4
|
@ -85,7 +85,7 @@ const flash = ({ type, msg }) => {
|
||||||
[...document.querySelectorAll("#tags > .badge")].forEach(tag => tag.parentElement.removeChild(tag));
|
[...document.querySelectorAll("#tags > .badge")].forEach(tag => tag.parentElement.removeChild(tag));
|
||||||
_tags.reverse().forEach(tag => {
|
_tags.reverse().forEach(tag => {
|
||||||
const a = document.createElement("a");
|
const a = document.createElement("a");
|
||||||
a.href = `/tag/${tag.tag}`;
|
a.href = `/tag/${tag.normalized}`;
|
||||||
a.style = "color: inherit !important";
|
a.style = "color: inherit !important";
|
||||||
a.innerHTML = tag.tag;
|
a.innerHTML = tag.tag;
|
||||||
a.addEventListener("click", editTagEvent); // tmp
|
a.addEventListener("click", editTagEvent); // tmp
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
@if(typeof item.tags !== "undefined")
|
@if(typeof item.tags !== "undefined")
|
||||||
@each(item.tags as tag)
|
@each(item.tags as tag)
|
||||||
<span @if(session)tooltip="{{ tag.user }}"@endif class="badge {{ tag.badge }} mr-2">
|
<span @if(session)tooltip="{{ tag.user }}"@endif class="badge {{ tag.badge }} mr-2">
|
||||||
<a href="/tag/{{ tag.tag }}">{!! tag.tag !!}</a>@if(session) <a class="removetag" href="#">×</a>@endif
|
<a href="/tag/{{ tag.normalized }}">{!! tag.tag !!}</a>@if(session) <a class="removetag" href="#">×</a>@endif
|
||||||
</span>
|
</span>
|
||||||
@endeach
|
@endeach
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user