MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 428: Line 428:
    const theta = -Math.atan(offset/h);
    const theta = -Math.atan(offset/h);
const a = Math.cos(theta);
const a = Math.cos(theta);
const b = -Math.sin(theta);
const b = Math.sin(theta);
const c = Math.sin(theta);
const c = -Math.sin(theta);
const d = Math.cos(theta);
const d = Math.cos(theta);
const showArticleBefore = document.querySelector('#show-article-before');
const showArticleBefore = document.querySelector('#show-article-before');

Navigation menu