Permalink
Browse files

disable ctx menu on rightmouse-click

  • Loading branch information...
cbries committed Dec 14, 2017
1 parent cbf638e commit 987659c7f9e543f7ba3f719c972fd5f84df7579c
Showing with 2 additions and 0 deletions.
  1. +2 −0 RailwayEssentialWeb/Resources/Webeditor/js/railwayessential.js
@@ -610,6 +610,8 @@ function changeEditMode(state) {
$(document).ready(function (e) {
document.addEventListener('contextmenu', event => event.preventDefault());
var isMouseDown = false;
var isDragging = false;
var startingPos = [];

0 comments on commit 987659c

Please sign in to comment.