Clicking an attachment link works only once

This should fix the issue :cat2:

https://github.com/discourse/discourse/commit/b809e02c6c43b92f618e9532b4c08e30f20fe4f8

3 Likes