From: David ‘Bombe’ Roden Date: Thu, 21 Oct 2010 08:57:01 +0000 (+0200) Subject: Don’t copy the value, the input field is disabled anyway. X-Git-Tag: 0.1-RC1~132 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ed3c6d96e9b97324c92913dfd289624dedcd3ba3;p=Sone.git Don’t copy the value, the input field is disabled anyway. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index ab16ba3..200c870 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -18,7 +18,6 @@ function registerInputTextareaSwap(inputSelector, defaultText, inputFieldName) { if (textarea.val() == "") { return false; } - $(inputField).val(textarea.val()); }); })(this, textarea); });