MediaWiki:Common.js: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 354:
});
/* Hide floating nav buttons when AI
(function () {
if (!window.matchMedia('(max-width: 768px)').matches)
setInterval(function () {
var isOpen = false;
document.body.classList.add('ai-panel-open');▼
} else {▼
if
isOpen = style.display !== 'none' && style.visibility !== 'hidden';
});▼
})();
| |||