vendor/ui/js/src/components/ref-selector.js in dolt-0.23.0 vs vendor/ui/js/src/components/ref-selector.js in dolt-0.24.0

- old
+ new

@@ -103,12 +103,14 @@ }, [currentRefLink(refs, current), refsList(refs, urlTemplate)]); } function refSelector(placeholder, refs, ref, refUrlTemplate) { var selector = build(refs, ref, refUrlTemplate); - placeholder.appendChild(selector); + placeholder.parentNode.insertBefore(selector, placeholder); + placeholder.parentNode.removeChild(placeholder); this.gts.dropdown(selector); } refSelector.build = build; + refSelector.getCurrentRef = getCurrent; return refSelector; }(dome.el));