From fffe5eb78c89f922072e3cc0f2695bc7f6650323 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 24 Apr 2013 20:47:41 +0000 Subject: [PATCH] tried to get innerHTML of an input by accident --- public/src/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/app.js b/public/src/app.js index 07fe1ad0e4..f028a7afd9 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -83,8 +83,8 @@ var socket, }; app.post_topic = function() { - var title = document.getElementById('post_title').innerHTML, - content = document.getElementById('post_content').innerHTML; + var title = document.getElementById('post_title').value, + content = document.getElementById('post_content').value; if (title.length < 5 || content.length < 5) { app.alert({