User:Z0eff/common.js: Difference between revisions

From Ara: History Untold Wiki
Created page with "var a, b, c, e; a = 41; b = 6; c = 6; e = 250; document.getElementById("foodYield").innerHTML = Math.floor(a*b+b*5*c+5+(a+5*c)*e%+(c-1)*5+a);"
 
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
var a, b, c, e;
if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) > -1 ) {
a = 41;
    $( '#wpTextbox1' ).css( 'height', '600px' );
b = 6;
}
c = 6;
e = 250;


document.getElementById("foodYield").innerHTML = Math.floor(a*b+b*5*c+5+(a+5*c)*e%+(c-1)*5+a);
/*
window.onload = function () {
    document.querySelector('.vector-limited-width-toggle').click();
}
*/

Latest revision as of 02:57, 1 November 2024

if ( [ 'edit', 'submit' ].indexOf( mw.config.get( 'wgAction' ) ) > -1 ) {
    $( '#wpTextbox1' ).css( 'height', '600px' );
}

/*
window.onload = function () {
    document.querySelector('.vector-limited-width-toggle').click();
}
*/