From 231321f2c1aee307c3a13a92b09efbfc4e578548 Mon Sep 17 00:00:00 2001 From: discomrade Date: Wed, 19 Jan 2022 03:55:00 -0100 Subject: [PATCH] Fix deprecated size() in quick-post-controls.js --- js/quick-post-controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'))