mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Merge pull request #4 from antoinec/javascript-fix
Display error message when javascript disabled.
This commit is contained in:
commit
b65ba444dd
@ -339,3 +339,12 @@ canvas {
|
||||
border: 1px solid white;
|
||||
}
|
||||
|
||||
#wrap-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.noscript {
|
||||
text-align: center;
|
||||
color: red;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -674,6 +674,9 @@ $('.email-link').each(function(i, elem){
|
||||
|
||||
});
|
||||
|
||||
$('#wrap-content').each(function(i, elem){
|
||||
$(elem).show();
|
||||
});
|
||||
|
||||
|
||||
}); /* End of "document ready" jquery callback */
|
||||
|
@ -81,7 +81,13 @@
|
||||
</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="span2">
|
||||
<div class="well sidebar-nav">
|
||||
|
Loading…
Reference in New Issue
Block a user