Browse Source

Fix deprecated size() in quick-post-controls.js

pull/68/head
discomrade 5 months ago
parent
commit
2fe1d617a5
  1. 2
      js/quick-post-controls.js

2
js/quick-post-controls.js

@ -39,7 +39,7 @@ $(document).ready(function(){
' <input type="submit" name="report" value="'+_('Report')+'">' +
'</div>' +
'</form>');
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'))

Loading…
Cancel
Save