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);
|
background-color: var(--neutral-grey);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
.md-typeset a:visited {
|
||||||
color: var(--light-grey);
|
color: var(--light-grey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
|
||||||
<!-- Script to protect content on the website -->
|
<!-- Script to protect content on the website -->
|
||||||
<!-- <script>
|
<script>
|
||||||
// Prevent right-click context menu
|
// Prevent right-click context menu
|
||||||
document.addEventListener('contextmenu', function (e) {
|
document.addEventListener('contextmenu', function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
@ -76,6 +76,6 @@
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script> -->
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue