diff --git a/ui/src/shared/functions.js b/ui/src/shared/functions.js index 9b6b5ecd..9a074e00 100644 --- a/ui/src/shared/functions.js +++ b/ui/src/shared/functions.js @@ -1,7 +1,6 @@ module.exports = { remCalc: function(values) { - values = values.replace('px', ''); - values = values.split(' '); + values = values.replace('px', '').split(' '); let outputRems = ''; const base = 16;