X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=9ef681203c8ec20a578460ee9c8be8f8d63efe1d;hp=0b28fb7f8e63c71daec061b85921a72c0b37e518;hb=7664f68b0010c691a8097231113d17d5281d8a96;hpb=93d3bf2c536e0a444cabd63f0af9cd889d051596 diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 0b28fb7..9ef6812 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1342,18 +1342,6 @@ $(document).ready(function() { }); }); - /* ajaxify album creation input field. */ - getTranslation("WebInterface.DefaultText.CreateAlbum.Name", function(text) { - $("#create-album input[name='name']").each(function() { - registerInputTextareaSwap(this, text, "name", false, true); - }); - }); - getTranslation("WebInterface.DefaultText.CreateAlbum.Description", function(text) { - $("#create-album input[name='description']").each(function() { - registerInputTextareaSwap(this, text, "description", true, true); - }); - }); - /* Ajaxifies all posts. */ /* calling getTranslation here will cache the necessary values. */ getTranslation("WebInterface.Confirmation.DeletePostButton", function(text) {