1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 12:00:06 +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,8 +1192,10 @@ $(document).ready(function () {
} }
setInterval(function () { setInterval(function () {
if (tabsCategoryDocumentHeightChanged()) { if (tabsCategoryDocumentHeightChanged()) {
if(typeof $('.nav-tabs-horizontal').scrollingTabs == 'function'){
$('.nav-tabs-horizontal').scrollingTabs('refresh'); $('.nav-tabs-horizontal').scrollingTabs('refresh');
} }
}
}, 1000); }, 1000);
modal = modal || (function () { modal = modal || (function () {