diff --git a/editor/jgraduate/jquery.jgraduate.js b/editor/jgraduate/jquery.jgraduate.js index 4c87f300..cb1cc021 100644 --- a/editor/jgraduate/jquery.jgraduate.js +++ b/editor/jgraduate/jquery.jgraduate.js @@ -795,6 +795,7 @@ jQuery.fn.jGraduate = $('#' + id + ' div.grad_coord').mousedown(function(evt) { + evt.preventDefault(); draggingCoord = $(this); var s_pos = draggingCoord.offset(); offset = draggingCoord.parent().offset(); diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 7138db3c..b1fec63c 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -469,7 +469,7 @@ modKey = (isMac ? "meta+" : "ctrl+"), // ⌘ path = svgCanvas.pathActions, undoMgr = svgCanvas.undoMgr, - Utils = svgCanvas.Utils, + Utils = svgedit.utilities, default_img_url = curConfig.imgPath + "logo.png", workarea = $("#workarea"), canv_menu = $("#cmenu_canvas"),