Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

fix(templating.js): reset caused duplicate template contents (#1945) #1958

Merged

Conversation

kaliatech
Copy link
Contributor

Fix for #1945. Calling render resulted in duplicate template renders in the container. This bug was introduced in the 5.15.3 release due to a change whereby templates renders are now appended to the container instead of replacing the innerHTML.

PR includes a simple unit test to verify calling render no longer results in duplicate contents.

@kaliatech kaliatech force-pushed the issue-1945-reset-dup-templates branch from 15effaa to 6d908d4 Compare December 21, 2017 20:41
Copy link
Member

@rnicholus rnicholus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, and the tests! 🍺

@rnicholus rnicholus merged commit 758d3d9 into FineUploader:master Dec 23, 2017
@rnicholus rnicholus added this to the 5.15.5 milestone Dec 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants