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

Exceptions do not work #16

Open
Nywuob opened this issue Nov 16, 2012 · 4 comments
Open

Exceptions do not work #16

Nywuob opened this issue Nov 16, 2012 · 4 comments

Comments

@Nywuob
Copy link

Nywuob commented Nov 16, 2012

I want to exclude some links to images that should be opened with Fancybox, but they still get the "dJax_internal" class.

This is the code i'm using:

jQuery(document).ready(function($) {
    $('body').djax('.updatable', ['assets']);
});

Example image link:

a href="assets/templates/wwaw/images/1_b.jpg" class="fancybox" data-fancybox-group="gallery" title="Lorem ipsum dolor sit amet">

Is this a bug or am I doing something wrong?

@beezee
Copy link
Owner

beezee commented Nov 16, 2012

Is this the case in all browsers? I personally haven't had trouble with this, but I'm using Javascripts indexOf method, might not have full coverage. Lemme know if there's a browser specific issue and I'll switch the method for detecting exceptions if need be.

@Nywuob
Copy link
Author

Nywuob commented Nov 16, 2012

Yes, it happens in the latest versions of Chrome, Firefox and Opera. I don't know about safari, but I reckon it's the same.

Thanks for your quick response btw.

@Nywuob
Copy link
Author

Nywuob commented Dec 5, 2012

Any updates on this issue?

@beezee
Copy link
Owner

beezee commented Feb 10, 2013

Unfortunately I've not been able to reproduce- if you can host a simple demonstration of the issue I'll be happy to dig into the source

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