Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix issue with invalid hint hiding after code was changed #7235

Conversation

marcelgerber
Copy link
Contributor

This is for #7233
The code may not be the best, but I'm not used to promises.

@ingorichter ingorichter assigned RaymondLim and redmunds and unassigned RaymondLim Mar 18, 2014
editor.hint.css("display", "none");
editor.hintShown = false;
if (!editor.hintShown) {
editor.hint.css("display", "none");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not .hide(); instead of .css("display", "none"); ?
https://api.jquery.com/hide/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just refactors the existing code, so I think it's ok.

@redmunds
Copy link
Contributor

Looks good. I don't think anyone would have ever hit that -- I had to make transition-duration 6s to verify :) Merging.

redmunds added a commit that referenced this pull request Mar 19, 2014
…hint-animation-fix

Fix issue with invalid hint hiding after code was changed
@redmunds redmunds merged commit 7e3c330 into adobe:master Mar 19, 2014
@marcelgerber marcelgerber deleted the inline-timing-function-editor-hint-animation-fix branch March 19, 2014 13:48
@marcelgerber
Copy link
Contributor Author

I was able to hit it without editing any duration.
But I just saw this fix introduced a new issue - the fix is ready and will be in a PR soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants