<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.stamen.health/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AVector.js</id>
	<title>MediaWiki:Vector.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stamen.health/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AVector.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.stamen.health/index.php?title=MediaWiki:Vector.js&amp;action=history"/>
	<updated>2026-04-14T22:58:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://wiki.stamen.health/index.php?title=MediaWiki:Vector.js&amp;diff=146&amp;oldid=prev</id>
		<title>Admin 3julmthh: Auto-pin sidebar JS</title>
		<link rel="alternate" type="text/html" href="https://wiki.stamen.health/index.php?title=MediaWiki:Vector.js&amp;diff=146&amp;oldid=prev"/>
		<updated>2026-04-13T19:20:06Z</updated>

		<summary type="html">&lt;p&gt;Auto-pin sidebar JS&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;// Auto-pin sidebar on page load&lt;br /&gt;
document.addEventListener(&amp;#039;DOMContentLoaded&amp;#039;, function() {&lt;br /&gt;
    // Add pinned class to body&lt;br /&gt;
    document.body.classList.add(&amp;#039;vector-feature-main-menu-pinned-enabled&amp;#039;);&lt;br /&gt;
    document.body.classList.remove(&amp;#039;vector-feature-main-menu-pinned-disabled&amp;#039;);&lt;br /&gt;
    &lt;br /&gt;
    // Click the toggle button if sidebar is collapsed&lt;br /&gt;
    var toggle = document.querySelector(&amp;#039;.vector-main-menu-toggle&amp;#039;);&lt;br /&gt;
    if (toggle &amp;amp;&amp;amp; !document.querySelector(&amp;#039;.vector-main-menu-pinned-container .vector-main-menu&amp;#039;)) {&lt;br /&gt;
        toggle.click();&lt;br /&gt;
    }&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Admin 3julmthh</name></author>
	</entry>
</feed>