Commit graph

24 commits

Author SHA1 Message Date
b3da952558 use <template> element for cws 2021-04-16 23:48:56 +02:00
046dc59834 fix cw handling again, maybe??? 2021-04-16 23:48:56 +02:00
91af2d9411 fix back button 2021-04-16 23:48:55 +02:00
cd0e444d16 i broke single-image nsfw posts again :( 2021-04-16 23:48:55 +02:00
a73271c0b5 rearrange some element lookup stuff 2021-04-16 23:48:55 +02:00
069a65ab71 always open filters when popping state 2021-04-16 23:48:55 +02:00
a212487613 location is a global also 2021-04-16 23:48:55 +02:00
1e0b955029 put full dimensions on image 2021-04-16 23:48:55 +02:00
61adebd4ab fix cw opening on first load 2021-04-16 23:48:55 +02:00
d6f7995f4b add pushState stuff for single.js 2021-04-16 23:48:55 +02:00
3639a1126a remember opened cws 2021-04-16 23:48:55 +02:00
f9bf7ccb46 fix single.js 2021-04-16 23:48:55 +02:00
7de35a098f use hidden attr instead of display:none 2021-04-16 23:48:55 +02:00
07d71de471 use DOMContentLoaded 2021-04-16 23:48:55 +02:00
5d5e3bacbb open filters on load if not empty or 'all' 2021-04-16 23:48:55 +02:00
739cc49c0c make filters into a <nav> 2021-04-16 23:48:55 +02:00
161cb48d3a use push/popstate for filters 2021-04-16 23:48:55 +02:00
45077d5eec add scripting for filters 2021-04-16 23:48:55 +02:00
c2a0ca6680 refactor single.js a bit 2021-04-16 23:48:55 +02:00
c1dda140bc tweak javascript a bit 2021-04-16 23:48:55 +02:00
5f54466ec0 fix caption 2021-04-16 23:48:55 +02:00
185f8d5ca4 add span #cw-text, grudgingly 2021-04-16 23:48:55 +02:00
85e23a5116 use strict 2021-04-16 23:48:55 +02:00
64e00f83f1 a lot of stylin and a little scriptin 2021-04-16 23:48:55 +02:00