forked from leftypol/leftypol
Fix deprecated size() in quick-post-controls.js
This commit is contained in:
parent
2f64d7edff
commit
231321f2c1
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ $(document).ready(function(){
|
||||||
' <input type="submit" name="report" value="'+_('Report')+'">' +
|
' <input type="submit" name="report" value="'+_('Report')+'">' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'</form>');
|
'</form>');
|
||||||
if($('form[name="post"]:first').size()){
|
if($('form[name="post"]:first').length){
|
||||||
var board=$(this).parent().parent().parent().attr("data-board");
|
var board=$(this).parent().parent().parent().attr("data-board");
|
||||||
post_form
|
post_form
|
||||||
.attr('action', $('form[name="post"]:first').attr('action'))
|
.attr('action', $('form[name="post"]:first').attr('action'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue