summaryrefslogtreecommitdiffstats
path: root/public/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/app.js')
-rw-r--r--public/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 9a58a6f2f2..f98fd03f82 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -291,7 +291,7 @@ function initRepository() {
$clone.find('button[data-link]').on("click",function (e) {
var $this = $(this);
if (!$this.hasClass('btn-primary')) {
- $clone.find('.btn-primary').removeClass('btn-primary').addClass("btn-default");
+ $clone.find('.input-group-btn .btn-primary').removeClass('btn-primary').addClass("btn-default");
$(this).addClass('btn-primary').removeClass('btn-default');
$url.val($this.data("link"));
$clone.find('span.clone-url').text($this.data('link'));