Skip to content

Commit

Permalink
added Javascript code to prevent the right click context menu from ap…
Browse files Browse the repository at this point in the history
…pearing
  • Loading branch information
AndrewKostka authored and tobijat committed Jul 8, 2015
1 parent a470291 commit dd19953
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/gas-station/_head.tpl.phtml
Expand Up @@ -22,6 +22,12 @@
<script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="//oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<script type="text/javascript">
document.oncontextmenu = function() {
return false;
};
</script>
</head>

<body>

0 comments on commit dd19953

Please sign in to comment.