Mercurial > kallithea
diff scripts/validate-commits @ 7641:6b7a0cd02857 stable
files: avoid duplicated "Select changeset" select2 controls on file source pages (Issue #343)
Sometimes, when reusing cached data, the DOM part of select2 activation would
be reused, but not the actual activation. Repeated select2 activation would
thus give duplicated DOM entries.
Select2 doeesn't seem to have a good way to unload or redo, so instead just try
to remove the old DOM parts.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 30 Apr 2019 19:05:16 +0200 |
parents | 69f70de15f26 |
children | d9e37f7fd35b |