Fixed linter error.

pull/35/head
Akshay Joshi 2020-10-09 12:09:23 +05:30
parent f4d6290b50
commit 0bf6e81faa
1 changed files with 0 additions and 6 deletions

View File

@ -143,7 +143,6 @@ module.exports = Alertify.dialog('createModeDlg', function() {
'path': $('.currentpath').val(),
},
innerbody,
sep = '/',
ext = $('.allowed_file_types select').val();
/*
@ -152,11 +151,6 @@ module.exports = Alertify.dialog('createModeDlg', function() {
there is a . already but it's not following the last /, AND the
extension isn't *, then we add the extension.
*/
if ($('.file_manager').attr('data-platform') === 'win32') {
sep = '\\';
}
if (ext != '*') {
newFile = newFile + '.' + ext;
$('.storage_dialog #uploader .input-path').val(newFile);