From 70aae83c8ee2a44b2eb880214af50f8052e12bf7 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Tue, 11 Apr 2006 11:33:15 +0000 Subject: #58166, fixes for typos, patch by Uwe Herrmann --- misc/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/upload.js b/misc/upload.js index 47189d591..b14b2a245 100644 --- a/misc/upload.js +++ b/misc/upload.js @@ -14,7 +14,7 @@ function uploadAutoAttach() { for (i = 0; input = inputs[i]; i++) { if (input && hasClass(input, 'upload')) { var uri = input.value; - // Extract the button ID based on a subtring of the input name: edit[foo][bar] -> foo-bar + // Extract the button ID based on a substring of the input name: edit[foo][bar] -> foo-bar var button = input.name.substr(5, input.name.length - 6).replace('][', '-'); var wrapper = button + '-wrapper'; var hide = button + '-hide'; -- cgit v1.2.3