diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2021-06-18 08:51:13 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-06-22 08:48:30 +0300 |
commit | 9f53317acbc4c17671aa35b54719cafd5bfa04ac (patch) | |
tree | 27d736af66fe2e0eab3a0b27a3b0e31a0c1bca3b | |
parent | da334d8a292c6b0154f588abed1f950c95a5ca55 (diff) |
Multiplication fix (#371)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
-rw-r--r-- | lib/rfs.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ module.exports = class { if (this.opts.baseValue.endsWith('px')) { this.opts.baseValue = parseFloat(this.opts.baseValue); } else if (this.opts.baseValue.endsWith('rem')) { - this.opts.baseValue = parseFloat(this.opts.baseValue) / this.opts.remValue; + this.opts.baseValue = parseFloat(this.opts.baseValue) * this.opts.remValue; } else { console.error(BASE_RFS_ERROR); } |