User:Gayasri/vector.js

var notice = document.getElementById('centralNotice'); if (mw.config.get('wgNoticeToggleState')) { notice.className = notice.className.replace('expanded', 'collapsed'); toggleNoticeCookie('1'); wgNoticeToggleState = 0; }