Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Clicking Preview multiple times quickly produces multiple previews.
![Shmizzle](https://secure.gravatar.com/avatar/bb24f28b36b69c42919412068be84d4a/?default=https%3A%2F%2Fvanillicon.com%2Fe5f2a36bd8f62869f90c1b41992af485_100.png&rating=g&size=100)
Type a comment, then double/triple/whatever click the Preview button quickly. Multiple previews will be rendered.
Tagged:
1
Comments
I haven't looked at the JavaScript behind the preview button, but if this is truly happening to people they might want to do something like:
onlick
$('.PreviewButton').attr("disabled", 'disabled');
onsuccess
$('.PreviewButton').removeAttr('disabled');
Yep, happens for me here too.
@Tim I see two or more requests being sent to http://vanillaforums.org/vanilla/post/comment/13230 with Type = Preview in Firebug. I assume the fix suggested by @Flam should be good enough, right?