diff --git a/editor/extensions/ext-connector.js b/editor/extensions/ext-connector.js index 85d857e5..ed677db1 100644 --- a/editor/extensions/ext-connector.js +++ b/editor/extensions/ext-connector.js @@ -83,7 +83,7 @@ svgEditor.addExtension("Connector", function(S) { function showPanel(on) { var conn_rules = $('#connector_rules'); if(!conn_rules.length) { - conn_rules = $('').appendTo('head'); } conn_rules.text(!on?"":"#tool_clone, #tool_topath, #tool_angle, #xy_panel { display: none !important; }"); $('#connector_panel').toggle(on); diff --git a/editor/extensions/ext-foreignobject.js b/editor/extensions/ext-foreignobject.js index 4aa3b99b..136485a9 100644 --- a/editor/extensions/ext-foreignobject.js +++ b/editor/extensions/ext-foreignobject.js @@ -30,7 +30,7 @@ svgEditor.addExtension("foreignObject", function(S) { function showPanel(on) { var fc_rules = $('#fc_rules'); if(!fc_rules.length) { - fc_rules = $('').appendTo('head'); } fc_rules.text(!on?"":" #tool_topath { display: none !important; }"); $('#foreignObject_panel').toggle(on); diff --git a/editor/extensions/ext-overview_window.js b/editor/extensions/ext-overview_window.js index 4ebdbd78..68101583 100644 --- a/editor/extensions/ext-overview_window.js +++ b/editor/extensions/ext-overview_window.js @@ -17,13 +17,13 @@ svgEditor.addExtension("overview_window", function() { 'use strict';