Skip to content

Commit

Permalink
Update condition
Browse files Browse the repository at this point in the history
  • Loading branch information
supuna97 committed Dec 18, 2023
1 parent 6498dbb commit 9845d1e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pages/js.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@
<!-- Arshia Js -->
<script src="assets/js/arshia.js"></script>
<!-- disabled -->
<!-- <script type="text/javascript">
<script type="text/javascript">
window.oncontextmenu = function () {
return false;
}
$(document).keydown(function (event) {
if (event.keyCode == 123) {
return false;
}
else if ((event.ctrlKey && event.shiftKey && event.keyCode == 73) || (event.ctrlKey && event.shiftKey && event.keyCode == 74)) {
} else if (event.ctrlKey && event.shiftKey && event.keyCode == 73) {
return false;
} else if (event.ctrlKey && event.shiftKey && event.keyCode == 74) {
return false;
}
});
</script> -->
</script>

0 comments on commit 9845d1e

Please sign in to comment.