Page: Repository home page
This commit is contained in:
parent
a1109e6fbc
commit
93ee0838eb
2 changed files with 9 additions and 8 deletions
|
@ -263,13 +263,14 @@ var Gogs = {};
|
||||||
return str;
|
return str;
|
||||||
},
|
},
|
||||||
afterCopy: function () {
|
afterCopy: function () {
|
||||||
$(this).tipsy("hide").attr('original-title', $this.data('after-title'));
|
var $this = $(this);
|
||||||
|
$this.tipsy("hide").attr('original-title', $this.data('after-title'));
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
$(this).tipsy("show");
|
$this.tipsy("show");
|
||||||
}, 200);
|
}, 200);
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
$(this).tipsy('hide').attr('original-title', $this.data('original-title'));
|
$this.tipsy('hide').attr('original-title', $this.data('original-title'));
|
||||||
}, 3000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
}).addClass("js-copy-bind");
|
}).addClass("js-copy-bind");
|
||||||
}
|
}
|
||||||
|
|
8
public/ng/js/min/gogs-min.js
vendored
8
public/ng/js/min/gogs-min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue