Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery giving initial rule-value-container display:block #604

Closed
pcurrivan opened this issue Dec 7, 2017 · 0 comments
Closed

jQuery giving initial rule-value-container display:block #604

pcurrivan opened this issue Dec 7, 2017 · 0 comments
Milestone

Comments

@pcurrivan
Copy link

In QueryBuilder.prototype.createRuleInput, the call to $valueContainer.show() sometimes gives the initial rule value container display:block, when it is supposed to have display:inline-block. jQuery gives it display:block if it does not have an initial display attribute. I have not been able to track down why this happens in my app and not in any JSFiddle I have tried, but it's fixed when I replace $valueContainer.css("display", "inline-block") with $valueContainer.show(). Isn't that more reliable anyway?

@mistic100 mistic100 added this to the 2.4.6 milestone Dec 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants