Re-enable right-click protect.
This commit is contained in:
parent
326745e717
commit
1514d2de7d
2 changed files with 3 additions and 3 deletions
|
|
@ -179,7 +179,7 @@ body {
|
|||
background-color: var(--neutral-grey);
|
||||
}
|
||||
|
||||
a:visited {
|
||||
.md-typeset a:visited {
|
||||
color: var(--light-grey);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
{{ super() }}
|
||||
|
||||
<!-- Script to protect content on the website -->
|
||||
<!-- <script>
|
||||
<script>
|
||||
// Prevent right-click context menu
|
||||
document.addEventListener('contextmenu', function (e) {
|
||||
e.preventDefault();
|
||||
|
|
@ -76,6 +76,6 @@
|
|||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
</script> -->
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue