From: David ‘Bombe’ Roden Date: Sun, 3 Apr 2011 11:36:06 +0000 (+0200) Subject: Fix search term input field jumping around on Firefox. X-Git-Tag: 0.6.1^2~48 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=319faf64a1c2323bb36d51c6939b4de382e80e56;p=Sone.git Fix search term input field jumping around on Firefox. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index c0fbb6d..aeebfb1 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -37,7 +37,8 @@ function registerInputTextareaSwap(inputElement, defaultText, inputFieldName, op (function(inputField, textarea) { inputField.focus(function() { $(this).hide().attr("disabled", "disabled"); - textarea.show().focus(); + /* no, show(), “display: block” is not what I need. */ + textarea.attr("style", "display: inline").focus(); }); if (inputField.val() == "") { inputField.addClass("default");