Skip to content
Snippets Groups Projects
Commit f2ae91c2 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Minor UI improvements

parent b4bf9486
No related branches found
No related tags found
No related merge requests found
...@@ -182,5 +182,5 @@ form.upload ...@@ -182,5 +182,5 @@ form.upload
display: none display: none
.fake-input[contenteditable]:empty:before .fake-input[contenteditable]:empty:before
opacity: 0.8 opacity: 0.4
content: attr(placeholder) content: attr(placeholder)
\ No newline at end of file
...@@ -16,4 +16,13 @@ ...@@ -16,4 +16,13 @@
<div class="description">{{.Image.Description}}</div> <div class="description">{{.Image.Description}}</div>
{{end}} {{end}}
</form> </form>
{{if .IsMine}}
<script>
document.querySelector(".title").addEventListener("input", (event) => {
requestAnimationFrame(() => {
document.title = event.target.innerText + " | i.k8r"
})
})
</script>
{{end}}
{{end}} {{end}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment