space
This commit is contained in:
parent
dd9892020c
commit
a3c1081964
2 changed files with 323 additions and 333 deletions
|
|
@ -6,7 +6,6 @@ var filePath = false;
|
|||
var videoListener;
|
||||
var seekBar;
|
||||
var globalUser;
|
||||
var srtFilePath = undefined;
|
||||
var videoPath = undefined;
|
||||
var videoHash = undefined;
|
||||
|
||||
|
|
@ -152,7 +151,6 @@ Ox.load({
|
|||
saveTxt();
|
||||
videoPath = undefined;
|
||||
videoHash = undefined;
|
||||
srtFilePath = undefined;
|
||||
textArea.elem.val('');
|
||||
var path = data.files[0].name;
|
||||
if ($.inArray(getFileNameExt(path.toLowerCase()), [
|
||||
|
|
@ -349,12 +347,5 @@ End Preview functions
|
|||
|
||||
|
||||
$(window).unload(function() {
|
||||
console.log('unload');
|
||||
if (typeof filePath != 'undefined' && typeof srtFilePath != 'undefined') {
|
||||
globalUser.set_prefs({
|
||||
'recentVideo': $('#video').attr("src").replace("file://", ""),
|
||||
'recentSrt': srtFilePath
|
||||
});
|
||||
}
|
||||
saveTxt();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -173,7 +173,6 @@ function toSeconds(t) {
|
|||
return s;
|
||||
}
|
||||
|
||||
|
||||
function spansToSrt(arr, fmt, start_no) {
|
||||
if (typeof start_no == 'undefined') {
|
||||
start_no = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue