diff --git a/spectrum.js b/spectrum.js index 137089f1..01fe810c 100644 --- a/spectrum.js +++ b/spectrum.js @@ -698,7 +698,7 @@ addColorToSelectionPalette(color); if (fireCallback && hasChanged) { callbacks.change(color); - boundElement.trigger('change.spectrum', [ color ]); + boundElement.trigger('change', [ color ]); } } diff --git a/test/tests.js b/test/tests.js index bc31ac88..2f9a689c 100644 --- a/test/tests.js +++ b/test/tests.js @@ -51,8 +51,7 @@ test( "Events Fire", function() { }); - // change.spectrum - el.on("change.spectrum", function(e, color) { + el.on("change", function(e, color) { ok(false, "Change should not fire from `set` call"); });