diff options
Diffstat (limited to 'misc/upload.js')
-rw-r--r-- | misc/upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |