diff --git a/js/components/MainWindow/MainContextMenu.js b/js/components/MainWindow/MainContextMenu.js
index cd375089..9e75e54a 100644
--- a/js/components/MainWindow/MainContextMenu.js
+++ b/js/components/MainWindow/MainContextMenu.js
@@ -18,7 +18,10 @@ const MainContextMenu = props => (
-
+
{!!props.avaliableSkins.length &&
}
{props.avaliableSkins.map(skin => (
{
let section, match;
return text.split(/[\r\n]+/g).reduce((data, line) => {
if ((match = line.match(PROPERTY_REGEX)) && section != null) {
- data[section][match[1].trim().toLowerCase()] = match[2].replace(/("|')/, '');
+ const value = match[2].replace(/("|')/, "");
+ data[section][match[1].trim().toLowerCase()] = value;
} else if ((match = line.match(SECTION_REGEX))) {
section = match[1].trim().toLowerCase();
data[section] = {};