X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=c705a2ceac437a3927c54b458b1391992f6b11f2;hp=c49cead808083eecf9df0f14de2dc104725960e6;hb=e5e67f4536966700d9a5e3120ca70fd3d4a4867d;hpb=0d68d165ed66e86fd57f09c8cfb744ccd64ed36a diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index c49cead..c705a2c 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -61,7 +61,7 @@ * Prepare all images for inline editing. */ function prepareImages() { - $(".image").each(function() { + $(".image-in-album").each(function() { imageId = $(this).closest(".image-in-album").find(".image-id").text(); (function(element, imageId) { $("button[name='moveLeft'], button[name='moveRight']", element).click(function() { @@ -184,9 +184,6 @@ }); $("#edit-album label").hide(); - /* hide non-js image move buttons. */ - $(".move-buttons").hide(); - hideAndShowBlock("div.edit-album", ".show-edit-album", ".hide-edit-album"); hideAndShowBlock("div.create-album", ".show-create-album", ".hide-create-album"); hideAndShowBlock("div.upload-image", ".show-upload-image", ".hide-upload-image"); @@ -269,32 +266,6 @@
<%include include/viewImage.html> - <%if album.sone.local> -
- - - - -
- - -
- - -
- <%/if>
<%= false|store key==endRow> <%if loop.odd><%= true|store key==endRow><%/if>