forked from f0ck/f0ckv2
43 lines
1.0 KiB
JavaScript
43 lines
1.0 KiB
JavaScript
export default {
|
|
layout: {
|
|
margin: 6,
|
|
min_cols: 3,
|
|
min_rows: 4,
|
|
itemsize: 130
|
|
},
|
|
st: {
|
|
behavior: "smooth",
|
|
block: "center"
|
|
},
|
|
url: "//f0ck.me",
|
|
tmp: {
|
|
scroll: false,
|
|
resize: null
|
|
},
|
|
container: {
|
|
wrapper: document.querySelector("div#wrapper"),
|
|
itemview: document.querySelector("div#itemview"),
|
|
header: {
|
|
iteminfo: document.querySelector("div#itemInfo"),
|
|
pagepos: document.querySelector("div#pagePosition"),
|
|
itempos: document.querySelector("div#itemPosition"),
|
|
infos: {
|
|
title: document.querySelector("span#itemTitle"),
|
|
source: document.querySelector("a#itemSource"),
|
|
time: document.querySelector("span#itemTime"),
|
|
nick: document.querySelector("span#itemNick"),
|
|
channel: document.querySelector("span#itemChannel")
|
|
}
|
|
},
|
|
items: document.querySelectorAll("div.items"),
|
|
posts: document.querySelectorAll("div.posts")
|
|
},
|
|
items: {
|
|
first: null,
|
|
last: null,
|
|
newest: null,
|
|
oldest: null,
|
|
eps: 0
|
|
}
|
|
};
|