1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00

Avoid error

This commit is contained in:
Daniel 2021-06-30 17:19:39 -03:00
parent afafe7c8cb
commit d98081a846

View file

@ -1192,7 +1192,9 @@ $(document).ready(function () {
}
setInterval(function () {
if (tabsCategoryDocumentHeightChanged()) {
$('.nav-tabs-horizontal').scrollingTabs('refresh');
if(typeof $('.nav-tabs-horizontal').scrollingTabs == 'function'){
$('.nav-tabs-horizontal').scrollingTabs('refresh');
}
}
}, 1000);