Commit 28e7df29 authored by 神楽坂玲奈's avatar 神楽坂玲奈

duelist ie9

parent 4b4ab09b
......@@ -45,12 +45,18 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="https://forum.my-card.in/">论坛</a></li>
<li><a href="https://my-card.in/puzzles">残局</a></li>
<!--[if lt IE 10]>
<li><a href="http://www.duelist.cn/">《DUELIST》</a></li>
<![endif]-->
<!--[if gte IE 10]><!-->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">《DUELIST》 <span id="duelist_lastest_issue" class="badge"></span><b class="caret"></b></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">《DUELIST》 <span id="duelist_lastest_issue" class="badge hidden"></span><b class="caret"></b></a>
<ul id="duelists" class="dropdown-menu">
<li><a href="#">Loading...</a></li>
</ul>
</li>
<!--<![endif]-->
</ul>
</div>
<!-- /.navbar-collapse -->
......
......@@ -18,5 +18,6 @@ else
$.getJSON 'http://www.duelist.cn/api/book/list', (data)->
$('#duelist_lastest_issue').html data[data.length-1].issue
$('#duelist_lastest_issue').removeClass('hidden')
$('#duelists').html (for duelist in data
$('<li/>').append($('<a/>', href: duelist.url, text: duelist.title )))
\ No newline at end of file
......@@ -26,6 +26,7 @@
$.getJSON('http://www.duelist.cn/api/book/list', function(data) {
var duelist;
$('#duelist_lastest_issue').html(data[data.length - 1].issue);
$('#duelist_lastest_issue').removeClass('hidden');
return $('#duelists').html((function() {
var _i, _len, _results;
_results = [];
......
......@@ -6,5 +6,5 @@
"index.coffee"
],
"names": [],
"mappings": ";AAAA;CAAA,CAAA,CAA2C,CAAA,GAA3C,EAA4C,sBAA5C;CACE,OAAA,gBAAA;AAAA,CAAA;UAAA,iCAAA;uBAAA;CACE,CACE,IADF,CAAA;CACE,CAAM,CAAN,CAAA,IAAA;CAAA,CACK,CAAL,KAAA,EADA;CAED,CACC,IAJgB,EAAA,CAGT;CACP,CAAO,EAAI,CAAX,GAAA;CAAA,CACK,CAAL,CAAS,IAAT;CADA,CAE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GAAb;CAAA,CAAyB,EAAN,CAAnB,EAAgC,GAAb;CAA/C,SAAkB;CADC;;CAArB;CAHF,EAAiD;CAlBjD"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment