我试图通过安装tether.js和utils.js来解决这个问题,似乎当我修复一个错误时,会弹出两个以上的错误。
这里有一个类似帖子的链接,但我有一个稍微不同的问题,这个问题是我从之前的问题中衍生出来的。
有什么我能做的吗?或者我应该直接恢复到boostrap3
how to fix the error bootstrap tooltips require tether 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发布于 2018-02-19 03:37:05
我找到了解决方案
https://forums.asp.net/t/2121600.aspx?Uncaught+Error+Bootstrap+tooltips+require+Tether
我改了台词
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/node_modules/tether/src/js/tether.js"></script>至
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/node_modules/tether/dist/js/tether.min.js"></script>发布于 2018-12-19 12:34:47
使用tether.min.js解决您的问题
https://stackoverflow.com/questions/48855223
复制相似问题