Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'freshp86/fix_parsefloat'
Browse files Browse the repository at this point in the history
  • Loading branch information
bicknellr committed Jan 24, 2018
2 parents befe160 + 4354dcf commit c825bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paper-checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
var checkboxSizeText = this.getComputedStyleValue('--calculated-paper-checkbox-size').trim();

var units = checkboxSizeText.match(/[A-Za-z]+$/)[0] || 'px';
var checkboxSize = parseFloat(checkboxSizeText, 10);
var checkboxSize = parseFloat(checkboxSizeText);
var defaultInkSize = (8 / 3) * checkboxSize;

if (units === 'px') {
Expand Down

0 comments on commit c825bfa

Please sign in to comment.