Skip to content

Commit

Permalink
unbreak clicking on theme names
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 21, 2015
1 parent 013e069 commit 02eb867
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions output/index.html
Expand Up @@ -159,7 +159,7 @@ <h2>Themes for Nikola <small>version
</div>
<!-- /.container -->
<script src="https://getnikola.com/assets/js/all-nocdn.js" type="text/javascript"></script>
<script src="jPages.min.js"></script>
<!-- <script src="jPages.min.js"></script> -->
<script src="theme_data.js"></script>
<script src="stmd.js"></script>
<script type="text/javascript">
Expand Down Expand Up @@ -220,7 +220,7 @@ <h2>Themes for Nikola <small>version
theme = location.hash.slice(1);
}
else {
theme = 'bootstrap';
theme = 'bootstrap3';
}
// Show theme data
container = $('#rightside');
Expand Down Expand Up @@ -257,8 +257,8 @@ <h2>Themes for Nikola <small>version
console.log(item.id , 'li-'+theme)
if (item.id == 'li-'+theme) {
$('#li-'+theme).addClass('active');
var page = parseInt(idx/30)+1;
$("div.holder").jPages(page);
// var page = parseInt(idx/30)+1;
// $("div.holder").jPages(page);
document.title = theme + ' — Themes for Nikola';
} else {
$('#'+item.id).removeClass('active');
Expand Down

0 comments on commit 02eb867

Please sign in to comment.