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

Class.Occlude.js -- occlude() returns false if you call it twice on the same object #1209

Open
heywbj opened this issue Aug 29, 2013 · 0 comments

Comments

@heywbj
Copy link

heywbj commented Aug 29, 2013

The way it is written, calling this.occlude() on the same object will alternatingly return either false or the object that is already attached to the element

At Class.Occlude.js line 30 , instead of:

if (instance && !this.occluded)

replace with:

if (instance)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/870242-class-occlude-js-occlude-returns-false-if-you-call-it-twice-on-the-same-object?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F22069&utm_medium=issues&utm_source=github).
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

1 participant