Skip to content

Commit

Permalink
Fixes data-colors bug in HTML5 configuration
Browse files Browse the repository at this point in the history
Before the fix, to set the plate color (plate is used as exemple, any
        data-color property would fail), it was necessary to declare

    data-color-XXX-plate = '#aaa'

After the fix:

    data-color-plate = '#aaa'

As the docs suggest.
  • Loading branch information
invernizzi committed Mar 8, 2013
1 parent 423dd43 commit b5100b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gauge.js
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,6 @@ domReady( function() {
}
}
else {
cfgProp.shift();
cfgProp.shift();
config.colors[toCamelCase( cfgProp)] = attrValue;
}
Expand Down

0 comments on commit b5100b8

Please sign in to comment.