1
0
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:
sametmax 2012-05-20 05:09:29 -07:00
commit b65ba444dd
3 changed files with 20 additions and 2 deletions

View File

@ -339,3 +339,12 @@ canvas {
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 self executing function */
})(); /* End of self executing function */

View File

@ -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">