[英]How to fix the Error; "SyntaxError: Identifier 'getScrollParents' has already been declared; Bootstrap tooltips require Tether;
I have tried to remove the issue by installing tether.js and utils.js, it seems when I fix one error 2 more pop up. 我试图通过安装tether.js和utils.js来消除此问题,似乎在我修复一个错误2时又弹出了。
Here is a link to a similar post but I'm having a slightly different issue, this issue that I'm having spawned out of the previous problem. 这是指向类似文章的链接,但是我遇到的问题略有不同,这个问题是我从先前的问题中衍生出来的。
Is there anything I can do? 有什么我可以做的吗? Or should I just revert back to boostrap3 还是我应该恢复为boostrap3
how to fix the error bootstrap tooltips require tether HTTP github 如何修复错误引导工具提示,需要系绳HTTP github
tether.js:1 Uncaught SyntaxError: Identifier 'getScrollParents' has already been declared
at tether.js:1
Uncaught Error: Bootstrap tooltips require Tether (http://tether.io/)
at bootstrap.min.js?ver=3.0.0:7
at bootstrap.min.js?ver=3.0.0:7
at bootstrap.min.js?ver=3.0.0:7
I found the solution 我找到了解决方案
https://forums.asp.net/t/2121600.aspx?Uncaught+Error+Bootstrap+tooltips+require+Tether https://forums.asp.net/t/2121600.aspx?Uncaught+Error+Bootstrap+tooltips+require+Tether
i changed the line 我换了线
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/node_modules/tether/src/js/tether.js"></script>
to 至
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/node_modules/tether/dist/js/tether.min.js"></script>
使用tether.min.js解决您的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.