Home
Random
Log in
Settings
About When They Cry Wiki
Disclaimers
Search
MediaWiki:Common.js: Difference between revisions
Message
Discussion
← Older edit
MediaWiki:Common.js
(view source)
Revision as of 20:48, 26 September 2023
4 bytes added
,
7 months ago
Undo revision 37367 by
Kinzo
(
talk
)
Revision as of 23:23, 5 June 2023
(
view source
)
Kinzo
(
talk
|
contribs
)
No edit summary
← Older edit
Latest revision as of 20:48, 26 September 2023
(
view source
)
Kinzo
(
talk
|
contribs
)
(Undo revision 37367 by
Kinzo
(
talk
))
Tag
:
Undo
(4 intermediate revisions by the same user not shown)
Line 22:
const tgln = document.querySelector("#siteSub")
const obsv = new IntersectionObserver(
([e]) => e.target.classList.toggle("stuck", e.intersectionRatio < 1),
{ threshold: [1]
}
);
obsv.observe(tgln);
Kinzo
Bureaucrats
,
Confirmed users
,
Administrators
32,512
edits