Use string interpolation

This commit is contained in:
Aya Morisawa 2018-09-01 23:12:51 +09:00
parent ffb345ccb5
commit 291beb45fc
No known key found for this signature in database
GPG key ID: 3E64865D70D579F2
40 changed files with 53 additions and 53 deletions

View file

@ -323,7 +323,7 @@ export default Vue.extend({
});
break;
default:
alert('%i18n:@unhandled-error% ' + err);
alert(`%i18n:@unhandled-error% ${err}`);
}
});
}
@ -404,7 +404,7 @@ export default Vue.extend({
folder: folder
});
} else {
window.open(url + '/i/drive/folder/' + folder.id,
window.open(`${url}/i/drive/folder/${folder.id}`,
'drive_window',
'height=500, width=800');
}