X-Editable not working in Chrome

徘徊边缘 提交于 2020-01-16 05:20:14

问题


X-Editable (bootstrap 2 version) is not working Chrome properly. When I click buttons, nothing changes (both save and discard changes). Looks like x-editable didn't respond to click event. What's more, console is not logging any errors. Works in firefox 25 and IE 10.

Tried to use normal and minified version.


回答1:


For anyone else having this issue, the !this.tip().is(':visible') was also failing for me. It turns out I had forgotten to include the bootstrap-editable.css file which has a display: inline-block; rule. Without this CSS Chrome reports the span as not being visible. Copied from enter link description here




回答2:


I've found solution. It's related to this question. It turned out, that "if" with "is(':visible')" statement returns different values in Chrome and FF, so x-editable form is not hidding.



来源:https://stackoverflow.com/questions/19924989/x-editable-not-working-in-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!