| Index: Source/devtools/front_end/elements/Spectrum.js
|
| diff --git a/Source/devtools/front_end/elements/Spectrum.js b/Source/devtools/front_end/elements/Spectrum.js
|
| index 5a60c99feea5348651d86d2c0c294c03fab2e9e0..550def5d420b7d8797e072ba37b8b967fa2dfa82 100644
|
| --- a/Source/devtools/front_end/elements/Spectrum.js
|
| +++ b/Source/devtools/front_end/elements/Spectrum.js
|
| @@ -446,7 +446,7 @@ WebInspector.SpectrumPopupHelper.prototype = {
|
| */
|
| WebInspector.ColorSwatch = function(readOnly)
|
| {
|
| - this.element = document.createElementWithClass("span", "swatch");
|
| + this.element = createElementWithClass("span", "swatch");
|
| this._swatchInnerElement = this.element.createChild("span", "swatch-inner");
|
| var shiftClickMessage = WebInspector.UIString("Shift-click to change color format.");
|
| this.element.title = readOnly ? shiftClickMessage : String.sprintf("%s\n%s", WebInspector.UIString("Click to open a colorpicker."), shiftClickMessage);
|
|
|