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

href change #136

Closed
pjam opened this issue Oct 5, 2011 · 1 comment
Closed

href change #136

pjam opened this issue Oct 5, 2011 · 1 comment

Comments

@pjam
Copy link

pjam commented Oct 5, 2011

Hi all.

I'm having a problem that I can't solve.

I have a link that opens a nyroModal, and with some action and closing the window, the original href of the link is changed with js. The problem is that when I click the link again, what pops up in the nyroModal is the content of the original href, and not the new one. How can I fix this?

I think it can somehow be done by recalling or re-init-ing the link filter, but I don't know how to do it.

Can someone help me please?

Thanks

@nyroDev
Copy link
Owner

nyroDev commented Oct 21, 2012

There was no clean way to do it.
In the following commit, I added a nmDestroy function.

Then, you'll simply do:
$('#link').nmDestroy.nyroModal();

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