From: David ‘Bombe’ Roden Date: Sun, 22 Sep 2013 20:11:58 +0000 (+0200) Subject: Remove unnecessary parameters. X-Git-Tag: 0.8.7^2~4 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=3145460693b63be7460b461d862a09e5d2151943 Remove unnecessary parameters. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 3204507..02fd0ea 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1946,10 +1946,10 @@ $(document).ready(function() { /* Ajaxifies all posts. */ /* calling getTranslation here will cache the necessary values. */ - getTranslation("WebInterface.Confirmation.DeletePostButton", function(text) { - getTranslation("WebInterface.Confirmation.DeleteReplyButton", function(text) { - getTranslation("WebInterface.DefaultText.Reply", function(text) { - getTranslation("WebInterface.Button.Comment", function(text) { + getTranslation("WebInterface.Confirmation.DeletePostButton", function() { + getTranslation("WebInterface.Confirmation.DeleteReplyButton", function() { + getTranslation("WebInterface.DefaultText.Reply", function() { + getTranslation("WebInterface.Button.Comment", function () { sone.find(".post").each(function() { ajaxifyPost(this); });