aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-04-24 00:43:40 +0000
committerxiphon <xiphon@protonmail.com>2020-04-24 00:43:40 +0000
commita99eef68f5e621f78df3b8f54e0b44a6178437f5 (patch)
tree567dcf5abb47fb1e2b28ec620de2a4199e42b5aa /js
parent585fb2810dc0d9b79255b9bd479559b36aa087d8 (diff)
downloadmonzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.gz
monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.tar.xz
monzero-gui-a99eef68f5e621f78df3b8f54e0b44a6178437f5.zip
always use native directory separators in paths
Diffstat (limited to 'js')
-rw-r--r--js/Wizard.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/js/Wizard.js b/js/Wizard.js
index a41864d4..a3d892cb 100644
--- a/js/Wizard.js
+++ b/js/Wizard.js
@@ -58,11 +58,6 @@ function switchPage(next) {
}
function createWalletPath(isIOS, folder_path,account_name){
- // Remove trailing slash - (default on windows and mac)
- if (folder_path.substring(folder_path.length -1) === "/"){
- folder_path = folder_path.substring(0,folder_path.length -1)
- }
-
// Store releative path on ios.
if(isIOS)
folder_path = "";