1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Display error message when javascript disabled.

This commit is contained in:
Antoine Catton 2012-05-20 03:22:20 +02:00
parent 3cd43c42fe
commit 0065eac1ab
3 changed files with 20 additions and 2 deletions

View File

@ -339,3 +339,12 @@ canvas {
border: 1px solid white; border: 1px solid white;
} }
#wrap-content {
display: none;
}
.noscript {
text-align: center;
color: red;
font-weight: bold;
}

View File

@ -674,8 +674,11 @@ $('.email-link').each(function(i, elem){
}); });
$('#wrap-content').each(function(i, elem){
$(elem).show();
});
}); /* End of "document ready" jquery callback */ }); /* End of "document ready" jquery callback */
})(); /* End of self executing function */ })(); /* End of self executing function */

View File

@ -81,7 +81,13 @@
</div> </div>
</div> </div>
<div class="container"> <noscript class="container noscript">
<p>This pastebin uses client-side encryption. Therefore, it needs JavaScript enabled.</p>
<p>It seems like your browser doesn't have JavaScript enable.</p>
<p>Please enable JavaScript for this website or use a JavaScript-capable web browser.</p>
</noscript>
<div class="container" id="wrap-content">
<div class="row"> <div class="row">
<div class="span2"> <div class="span2">
<div class="well sidebar-nav"> <div class="well sidebar-nav">