Update JIT.js

This commit is contained in:
Robert Best 2016-09-28 15:18:44 -04:00 committed by GitHub
parent 67c4912c62
commit 4e506ad290

View file

@ -888,6 +888,7 @@ const JIT = {
var myY = e.clientY - 30
$('#new_topic').css('left', myX + 'px')
$('#new_topic').css('top', myY + 'px')
$('#new_topic').attr('oncontextmenu','return false') //prevents the mouse up event from opening the default context menu on this element
Create.newTopic.x = eventInfo.getPos().x
Create.newTopic.y = eventInfo.getPos().y
Visualize.mGraph.plot()