2017-03-05 60 views
1

因此,我最近开发了一个网站,而不是使用从桌面移动到移动设备的导航栏,我使用两种不同的导航栏。Bootstrap 4 Alpha - 崩溃 - 未捕获错误

使用移动导航栏时,它是一个固定的导航栏,其中包含一个按钮,可使用折叠功能切换显示下面的内容。

这是错误:

Uncaught Error: Collapse is transitioning 
    at l.show (bootstrap.min.js:6) 
    at l.toggle (bootstrap.min.js:6) 
    at HTMLDivElement.<anonymous> (bootstrap.min.js:6) 
    at Function.each (jquery-3.1.1.min.js:2) 
    at r.fn.init.each (jquery-3.1.1.min.js:2) 
    at r.fn.init.l._jQueryInterface [as collapse] (bootstrap.min.js:6) 
    at HTMLButtonElement.<anonymous> (bootstrap.min.js:6) 
    at HTMLDocument.dispatch (jquery-3.1.1.min.js:3) 
    at HTMLDocument.q.handle (jquery-3.1.1.min.js:3) 
l.show @ bootstrap.min.js:6 
l.toggle @ bootstrap.min.js:6 
(anonymous) @ bootstrap.min.js:6 
each @ jquery-3.1.1.min.js:2 
each @ jquery-3.1.1.min.js:2 
l._jQueryInterface @ bootstrap.min.js:6 
(anonymous) @ bootstrap.min.js:6 
dispatch @ jquery-3.1.1.min.js:3 
q.handle @ jquery-3.1.1.min.js:3 

导航栏的折叠功能正常工作时,有页面上没有其他内容,但只要内容放在页面上它停止工作,并抛出了那个错误。

如果任何人有任何想法,它会大大appericiated。

+0

[bootstraps 4 Error:Collapse is transitioning]的可能重复(http://stackoverflow.com/questions/42453332/bootstraps-4-error-collapse-is-transitioning) – coderade

回答