Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated demo

  • Loading branch information...
commit c4df55eca2c7628f811dd53a0f9461ba308b4138 1 parent ee7a1a3
@claviska authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 index.html
View
7 index.html
@@ -68,11 +68,10 @@
opacity: $(this).attr('data-opacity'),
position: $(this).attr('data-position') || 'bottom left',
change: function(hex, opacity) {
- var log;
+ if( !hex ) return;
+ if( opacity ) hex += ', ' + opacity;
try {
- log = hex ? hex : 'transparent';
- if( opacity ) log += ', ' + opacity;
- console.log(log);
+ console.log(hex);
} catch(e) {}
},
theme: 'bootstrap'
Please sign in to comment.
Something went wrong with that request. Please try again.