Twitter bootstrap twitter引导2.3.0模式转换未显示

Twitter bootstrap twitter引导2.3.0模式转换未显示,twitter-bootstrap,Twitter Bootstrap,javascript: .modal-confirm.modal.hide.fade div.modal-header button.close(data-dismiss='modal') x h3 div.modal-body p div.modal-footer button(data-dismiss="modal").cancel.btn Cancel button.submit.btn Ok 这是很好用的,但是我升级到推特Bootstrap 2.

javascript:

.modal-confirm.modal.hide.fade
div.modal-header
    button.close(data-dismiss='modal') x
    h3
div.modal-body
    p
div.modal-footer
    button(data-dismiss="modal").cancel.btn Cancel
    button.submit.btn Ok

这是很好用的,但是我升级到推特Bootstrap 2.3.0,模态不再出现在窗口中间,它被卡在窗口的顶部。 jquery 1.8.0版本


我研究了bootstrap-min.css、v2.0.4和v2.3.0的区别:

$('#login-form #forgot-password').click(function(){ $('#get-credentials').modal('show');});

确保您在尝试在chrome中“检查元素”时没有单击模式。它打破了引导的定位。假设你使用的是chrome.Can真的帮不上忙,需要一个测试页面来查看你遇到的确切问题。请发布一个测试页面或一个jsfiddle。相同的代码在jquery1.8.0+bootstrap2.0.4中运行良好,现在升级到bootstrap2.3.0时无法运行。没有代码更改,只是升级了:netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/js/bootstrap.min.jsi查看了bootstrap-min.css、v2.0.4和v2.3.0以及modal.fade.in{top:10%}2.3.0中的modal.fade.in{top:50%}2.0.4中的差异
modal.fade.in{top:10%} in 2.3.0 
and 
modal.fade.in{top:50%} in 2.0.4