Skip to content
Snippets Groups Projects
Commit f8b95188 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

Merge branch 'hotline#73203_service_babelio_indisponible' into 'hotline'

hotline #73203 fix jquery compatibility

See merge request !2615
parents 83164fc7 2075a05e
2 merge requests!2660Master,!2615hotline #73203 fix jquery compatibility
Pipeline #3948 passed with stage
in 32 minutes and 23 seconds
- ticket #73203 : Service Babélio : correction de la compatibilité avec JQuery 3.2.1
\ No newline at end of file
......@@ -50,7 +50,7 @@ $.fn.babelthequeTag=function(info) {
var insertBabelthequeISBNTag = function(isbn) {
if (!$('input#BW_id_isbn').size())
if (!$('input#BW_id_isbn').length)
$('body').append('<input type="hidden" id="BW_id_isbn" value="'+isbn+'"\>');
}
......@@ -76,7 +76,7 @@ var tagsNoticeAfterLoad = function(target) {
var avisNoticeAfterLoad = function(target) {
var tr_critiques = target.find('table tr:nth-child(2)');
if (!tr_critiques.find('ul').size())
if (!tr_critiques.find('ul').length)
$('<ul></ul>').appendTo(tr_critiques);
var ul_critiques = tr_critiques.find('ul');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment