User:Technical 13/common.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
there... confirm uses true/false instead of null like prompt
Technical 13 (talk | contribs)
I don't want to see the background content...
Line 1:
/* WikiBreak */
$( 'div#mw-content-text' ).css("display", "none");
var stillOnBreak = confirm('You are still on a WikiBreak because you need to get your school work done');
if(stillOnBreak === false){
Line 7 ⟶ 8:
} else {
stillOnBreak = alert('You are still on a WikiBreak because you need to get your school work done');
$( 'div#mw-content-text' ).css("display", "");
}
} else {