diff --git a/isso/client/app/forms.js b/isso/client/app/forms.js index a3e7d63..85b00a7 100644 --- a/isso/client/app/forms.js +++ b/isso/client/app/forms.js @@ -15,8 +15,8 @@ define(["lib/HTML", "./logging"], function(HTML, logging) { textarea.value = defaults.text || ""; textarea.placeholder = "Kommentar hier eintippen (andere Felder sind optional)" textarea.onfocus = function() { - textarea.rows = 10 - form.scrollIntoView(false); + textarea.rows = 10; + // scrollIntoView enhancement }; textarea.onblur = function() { setTimeout(function() { if (textarea.value == "" && document.activeElement != textarea) { diff --git a/isso/client/app/isso.js b/isso/client/app/isso.js index 52bf244..ddd24e4 100644 --- a/isso/client/app/isso.js +++ b/isso/client/app/isso.js @@ -139,7 +139,7 @@ define(["lib/q", "lib/HTML", "helper/utils", "./api", "./forms", "./logging"], f HTML.query("#isso-" + comment.id).classList.add("isso-active-msgbox"); HTML.query("#isso-" + comment.id + " a.reply").textContent = "Schließen"; - msgbox.scrollIntoView(false); + // msgbox.scrollIntoView(false); msgbox.query("input[type=submit]").addEventListener("click", function(event) { forms.validate(msgbox) && api.create({ author: msgbox.query("[name=author]").value, diff --git a/isso/client/helper/identicons.js b/isso/client/helper/identicons.js new file mode 100644 index 0000000..e69de29