diff --git a/js/quick-post-controls.js b/js/quick-post-controls.js index 3751b4cf..3fc33a19 100644 --- a/js/quick-post-controls.js +++ b/js/quick-post-controls.js @@ -39,7 +39,7 @@ $(document).ready(function(){ ' ' + '' + ''); - if($('form[name="post"]:first').size()){ + if($('form[name="post"]:first').length){ var board=$(this).parent().parent().parent().attr("data-board"); post_form .attr('action', $('form[name="post"]:first').attr('action'))