mirror of
https://github.com/TotalFreedomMC/Website.git
synced 2025-07-27 07:51:48 +00:00
Update builders.js
Removed some comments
This commit is contained in:
parent
08e03dde24
commit
db158c9585
1 changed files with 5 additions and 5 deletions
|
@ -23,11 +23,11 @@ $(document).ready(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
$(".build").slice(0, 6).show(); // select the first ten
|
$(".build").slice(0, 6).show();
|
||||||
$("#load").click(function(e){ // click event for load more
|
$("#load").click(function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$("div:hidden").slice(0, 6).show(); // select next 10 hidden divs and show them
|
$("div:hidden").slice(0, 6).show();
|
||||||
if($("div:hidden").length == 0){ // check if any hidden divs still exist
|
if($("div:hidden").length == 0){
|
||||||
$("#load").hide();
|
$("#load").hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue