Open jacebrowning opened 8 years ago
i have a question about this, i tried to do
elem{{ loop.index }}.parentElement.onclick = function() { document.location = '{{ src }}' }
which would just always redirect to the "example" of that src (like the baby quantum physics). Am i missing something here?
I am not quite understanding your question.
which would just always redirect to the "example" of that src (like the baby quantum physics
Can you describe the behavior you are seeing? Maybe some console logging would help here.
i can't reproduce the issue anyway, i think it had to do with my school caching images in their routers :p
I think this could be achieved by following the elements
src
when the javascript updates the page.