cat, home, tag,search pages
This commit is contained in:
@@ -212,7 +212,6 @@
|
||||
|
||||
if (!isMobile) {
|
||||
if (isMasonryPage) {
|
||||
|
||||
//no overflowY
|
||||
$('html').css({ overflowY: "hidden" })
|
||||
|
||||
@@ -270,30 +269,14 @@
|
||||
} else {
|
||||
$(".home_wrapper-big .metadata").addClass("noBottomScrollbar")
|
||||
}
|
||||
|
||||
//fit title
|
||||
$(".archivetitle h1").fitText(0.6)
|
||||
|
||||
|
||||
}//isMasonryPage end
|
||||
}// !isMobile end
|
||||
|
||||
//returns three random numebers 0-5
|
||||
function randomNumbers() {
|
||||
// All numbers are equal
|
||||
var numberOne = 3;
|
||||
var numberTwo = 3;
|
||||
var numberThree = 3;
|
||||
|
||||
// run this loop until numberOne is different than numberThree
|
||||
do {
|
||||
numberOne = Math.floor(Math.random() * 5);
|
||||
} while (numberOne === numberThree);
|
||||
|
||||
// run this loop until numberTwo is different than numberThree and numberOne
|
||||
do {
|
||||
numberTwo = Math.floor(Math.random() * 5);
|
||||
} while (numberTwo === numberThree || numberTwo === numberOne);
|
||||
|
||||
var i = [numberOne, numberTwo, numberThree]
|
||||
return i
|
||||
}
|
||||
|
||||
function random2() {
|
||||
const choices = [
|
||||
[1, 3],
|
||||
@@ -490,10 +473,6 @@
|
||||
})
|
||||
|
||||
/* --------------------------- scroll with keyboard --------------------------- */
|
||||
|
||||
|
||||
|
||||
|
||||
var kd = false
|
||||
$('html *:not(input)').keydown(function (event) {
|
||||
if (kd) {
|
||||
|
||||
Reference in New Issue
Block a user