Remove unnecessary parameters.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 22 Sep 2013 20:11:58 +0000 (22:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 22 Sep 2013 20:12:37 +0000 (22:12 +0200)
src/main/resources/static/javascript/sone.js

index 3204507..02fd0ea 100644 (file)
@@ -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);
                                        });