From a81d8d0d955d967dee0e187b17de707fa58c8760 Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sun, 18 Mar 2018 19:35:10 +0100 Subject: [PATCH] Improved upload API --- templates/_footer.html | 1 + templates/image_detail.html | 1 - templates/upload.html | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/_footer.html b/templates/_footer.html index 6c7e361..18fdea3 100644 --- a/templates/_footer.html +++ b/templates/_footer.html @@ -1,3 +1,4 @@ {{define "footer"}} <script src="/assets/js/component/fake-input.js"></script> +<script src="/assets/js/component/copy.js"></script> {{end}} \ No newline at end of file diff --git a/templates/image_detail.html b/templates/image_detail.html index 0e81e3c..e019d4f 100644 --- a/templates/image_detail.html +++ b/templates/image_detail.html @@ -50,7 +50,6 @@ </div> </div> </div> -<script src="/assets/js/component/copy.js"></script> {{if .IsMine}} <script src="/assets/js/page_image_detail.js"></script> {{end}} diff --git a/templates/upload.html b/templates/upload.html index 16e976d..456b6f4 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -22,6 +22,4 @@ </div> </div> <script src="/assets/js/page_upload.js"></script> -<script src="/assets/js/component/copy.js"></script> -<script src="/assets/js/component/fake-input.js"></script> {{end}} \ No newline at end of file -- GitLab