Fix for theme trimming

This commit is contained in:
Jiiks 2015-12-15 11:11:31 +02:00
parent a1f55a7be1
commit 9d306ed4e1
1 changed files with 0 additions and 1 deletions

1
splice
View File

@ -60,7 +60,6 @@
split.splice(0, 1);
theme = split.join('\n');
theme = theme.replace(/(\r\n|\n|\r)/gm,'');
theme = theme.replace(/\s/g, '');
mainWindow.webContents.executeJavaScript('(function() { bdthemes["'+themeName+'"] = { "enabled": false, "name": "'+themeName+'", "css": "'+escape(theme)+'", "description": "'+themeDescription+'", "author":"'+themeAuthor+'", "version":"'+themeVersion+'" } })();');
});
});