From a9d874f6411c340739e9a436ad1e9aab5b666d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Dematt=C3=A9?= Date: Fri, 13 Nov 2015 22:25:09 +0100 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c64e437..1f4d8e1 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,8 @@ renderCallback: function($elm, toggled) { } } ``` -Here you can fire events if necessary or check for a className or data attribute on $elm to see if there is a hint for hiding the opacity slider: ```this.$UI.find('.cp-alpha').toggle(!$elm.hasClass('no-alpha'));``` +Here you can fire events if necessary or check for a className or data attribute on $elm to see if there is a hint for hiding the opacity slider: +```this.$UI.find('.cp-alpha').toggle(!$elm.hasClass('no-alpha'));``` ##colors.js