From 7ec9326ce00d08f9d957981f2edff6df26f24a28 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期四, 26 九月 2024 13:25:02 +0800 Subject: [PATCH] 修改 --- web/public/SVGOrigin/Method-Draw-master/method-draw/lib/contextmenu.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/public/SVGOrigin/Method-Draw-master/method-draw/lib/contextmenu.js b/web/public/SVGOrigin/Method-Draw-master/method-draw/lib/contextmenu.js index 52ba1b3..065103e 100644 --- a/web/public/SVGOrigin/Method-Draw-master/method-draw/lib/contextmenu.js +++ b/web/public/SVGOrigin/Method-Draw-master/method-draw/lib/contextmenu.js @@ -1,8 +1,8 @@ /** * Package: svgedit.contextmenu - * + * * Licensed under the Apache License, Version 2 - * + * * Author: Adam Bender */ // Dependencies: @@ -45,7 +45,7 @@ $("#cmenu_canvas").append("<li class='separator'>"); } var shortcut = menuItem.shortcut || ""; - $("#cmenu_canvas").append("<li class='disabled'><a href='#" + menuItem.id + "'>" + $("#cmenu_canvas").append("<li class='disabled'><a href='#" + menuItem.id + "'>" + menuItem.label + "<span class='shortcut'>" + shortcut + "</span></a></li>"); } @@ -53,7 +53,7 @@ var menuItemIsValid = function(menuItem) { return menuItem && menuItem.id && menuItem.label && menuItem.action && typeof menuItem.action == 'function'; } - + // Defer injection to wait out initial menu processing. This probably goes away once all context // menu behavior is brought here. methodDraw.ready(function() { -- Gitblit v1.9.1