Skip to content
Permalink
Browse files

unbreak clicking on theme names

  • Loading branch information
ralsina committed May 21, 2015
1 parent 013e069 commit 02eb867f6cb84c6c777cbf7447847587dba75b62
Showing with 4 additions and 4 deletions.
  1. +4 −4 output/index.html
@@ -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">
@@ -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');
@@ -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');

0 comments on commit 02eb867

Please sign in to comment.