Index: Source/devtools/front_end/Spectrum.js |
diff --git a/Source/devtools/front_end/Spectrum.js b/Source/devtools/front_end/Spectrum.js |
index e1c468ddb98a07dd22e2dc6d98a7c536e97fcc9f..38d29eb77e02cc9bb611ef07a608a1216c289aec 100644 |
--- a/Source/devtools/front_end/Spectrum.js |
+++ b/Source/devtools/front_end/Spectrum.js |
@@ -56,6 +56,7 @@ WebInspector.Spectrum = function() |
this._alphaElement.setAttribute("type", "range"); |
this._alphaElement.setAttribute("min", "0"); |
this._alphaElement.setAttribute("max", "100"); |
+ this._alphaElement.addEventListener("input", alphaDrag.bind(this), false); |
this._alphaElement.addEventListener("change", alphaDrag.bind(this), false); |
var swatchElement = document.createElement("span"); |