summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-24 23:53:26 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-24 23:53:26 +0800
commit92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4 (patch)
treecc0001ffdbd4f2ce988551b58cc06e13a94a608a /public
parent67b43387f44b9e3a03f471d0782bfae34a9b9357 (diff)
downloadgitea-92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4.tar.gz
gitea-92a6058e29eb5f9cd655c3b1f8f43fd6d46fe5a4.zip
zip download button, repo single file buttons
Diffstat (limited to 'public')
-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'));