vendor/ui/js/src/components/clone-url-selection.js in dolt-0.17.0 vs vendor/ui/js/src/components/clone-url-selection.js in dolt-0.18.0

- old
+ new

@@ -1,5 +1,10 @@ /*global cull, dome*/ +this.gts = this.gts || {}; + +/** + * When clicking clone URLs, copy them to the related input field. + */ this.gts.cloneUrlSelection = function cloneUrlSelection(element) { var input = element.getElementsByTagName("input")[0]; if (input) { dome.on(input, "focus", function (e) { this.select(); });