(str, suffix)
| 854 | selectedFilename = filename |
| 855 | } |
| 856 | function endsWith(str, suffix) { |
| 857 | return str.indexOf(suffix, str.length - suffix.length) !== -1; |
| 858 | } |
| 859 | function extract() { |
| 860 | let file = document.getElementById('selectedItem').value; |
| 861 | if(file != null && file.length > 0 && files.length > 1) { |