From 1535f35ff2ff370ad8b7279d1313698ad0458ffd Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Mon, 10 Jun 2019 13:20:33 -0700 Subject: [PATCH] Remove unused CSS image fetch This default Closure image was always being overridden and was never fetched. But it takes some research to determine that this is not in effect a potential monitoring point. --- core/css.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/css.js b/core/css.js index aaa7cccb9..1fa075011 100644 --- a/core/css.js +++ b/core/css.js @@ -282,7 +282,7 @@ Blockly.Css.CONTENT = [ 'cursor: -webkit-grab;', '}', - '.blocklyDragging {', + '.blocklyDragging {', /* backup for browsers (e.g. IE11) that don't support grabbing */ 'cursor: url("<<>>/handclosed.cur"), auto;', 'cursor: grabbing;', @@ -647,10 +647,9 @@ Blockly.Css.CONTENT = [ 'padding: 0 !important;', '}', - /* Override the default Closure URL. */ '.blocklyWidgetDiv .goog-option-selected .goog-menuitem-checkbox,', '.blocklyWidgetDiv .goog-option-selected .goog-menuitem-icon {', - 'background: url(<<>>/sprites.png) no-repeat -48px -16px !important;', + 'background: url(<<>>/sprites.png) no-repeat -48px -16px;', '}', /* Category tree in Toolbox. */ @@ -964,8 +963,6 @@ Blockly.Css.CONTENT = [ '.blocklyWidgetDiv .goog-option-selected .goog-menuitem-icon, ', '.blocklyDropDownDiv .goog-option-selected .goog-menuitem-checkbox, ', '.blocklyDropDownDiv .goog-option-selected .goog-menuitem-icon {', - /* Client apps may override the URL at which they serve the sprite. */ - 'background: url(//ssl.gstatic.com/editor/editortoolbar.png) no-repeat -512px 0;', 'position: static;', /* Scroll with the menu. */ 'float: left;', 'margin-left: -24px;',