fixed changelog and ribbon
This commit is contained in:
parent
f16710b796
commit
0ca8359948
@ -79,7 +79,7 @@
|
||||
|
||||
<body>
|
||||
|
||||
<a href="https://github.com/ivaynberg/select2"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 2000" src="https://a248.e.akamai.net/assets.github.com/img/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub"></a>
|
||||
<a href="https://github.com/ivaynberg/select2"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 2000" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
|
@ -227,12 +227,12 @@ $("#e10_3").select2({
|
||||
var url="https://api.github.com/repos/ivaynberg/select2/issues?state=closed&milestone=4";
|
||||
$.ajax({
|
||||
url: url,
|
||||
dataType: "json"
|
||||
dataType: "jsonp"
|
||||
}).done(function(issues) {
|
||||
var list=$("#changelog ul");
|
||||
var template="<li><a href='$url'><span>#$num</span> </a>$title</li>";
|
||||
list.empty();
|
||||
$.each(issues, function() {
|
||||
$.each(issues.data, function() {
|
||||
var markup=template
|
||||
.replace(/\$url/g, this.url)
|
||||
.replace(/\$num/g, this.number)
|
||||
|
Loading…
x
Reference in New Issue
Block a user