Commit graph

20 commits

Author SHA1 Message Date
8b32dfb6b9 percent-decode hash 2021-04-16 23:48:56 +02:00
bf6ef27874 fix cw stuff... again 2021-04-16 23:48:56 +02:00
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
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
07d71de471 use DOMContentLoaded 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