forked from leftypol/leftypol
Fix deprecated size() in quick-post-controls.js
This commit is contained in:
parent
2f64d7edff
commit
231321f2c1
|
@ -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…
Reference in New Issue
Block a user