support txt drag and drop

This commit is contained in:
j 2019-01-13 18:34:38 +05:30
parent 637feaee55
commit 709e067e14

View file

@ -1028,7 +1028,7 @@ oml.updateDebugMenu = function() {
oml.user.ui.showDebugMenu ? menu.show() : menu.hide();
};
oml.supportedExtensions = ['pdf', 'epub', 'kepub', 'cbr', 'cbz'];
oml.supportedExtensions = ['pdf', 'epub', 'kepub', 'cbr', 'cbz', 'txt'];
oml.upload = function(fileslist, callback) {
var files = [], ids = [];