Skip to content

Commit

Permalink
remove lazyload add bootswatch
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Aug 6, 2016
1 parent 2e032d4 commit de54b73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"dependencies": {
"bootstrap": "^3.3",
"jquery": "^2.2",
"swipebox": "^1.4"
"swipebox": "^1.4",
"bootswatch": "^3.3"
}
}
6 changes: 0 additions & 6 deletions js/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
$(function() {
$( '.swipebox' ).swipebox();

$(window).on('ajaxComplete', function() {
setTimeout(function() {
$(window).lazyLoadXT();
}, 50);
});
});
1 change: 0 additions & 1 deletion views/index_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</style>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/lazyloadxt/dist/jquery.lazyloadxt.min.js"></script>
<script src="bower_components/swipebox/src/js/jquery.swipebox.min.js"></script>
<script src="js/index.js"></script>
</head>
Expand Down

0 comments on commit de54b73

Please sign in to comment.