diff --git a/spectrum.js b/spectrum.js index b0a7d72f..2b0efd75 100644 --- a/spectrum.js +++ b/spectrum.js @@ -29,6 +29,7 @@ maxSelectionSize: 7, cancelText: "cancel", chooseText: "choose", + clearText: "Clear Color Selection", preferredFormat: false, className: "", showAlpha: false, @@ -86,7 +87,7 @@ "", "", "", - "
", + "
", "
", "
", "
", @@ -315,6 +316,7 @@ hide("cancel"); }); + clearButton.attr("title", opts.clearText); clearButton.bind("click.spectrum", function (e) { e.stopPropagation(); e.preventDefault();