Page: Repository home page
parent
a1109e6fbc
commit
93ee0838eb
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue