Remove debug console.logs
This commit is contained in:
@@ -637,7 +637,6 @@ function selectNewlyAddedSubtitle () {
|
|||||||
var newIx = state.playing.subtitles.tracks.length - 1
|
var newIx = state.playing.subtitles.tracks.length - 1
|
||||||
|
|
||||||
// Find which subtitle track fits the current locale
|
// Find which subtitle track fits the current locale
|
||||||
var langIx
|
|
||||||
var osLangISO = window.navigator.language.split('-')[0] // eg "en"
|
var osLangISO = window.navigator.language.split('-')[0] // eg "en"
|
||||||
var trackLang = state.playing.subtitles.tracks[newIx].language // eg "German"
|
var trackLang = state.playing.subtitles.tracks[newIx].language // eg "German"
|
||||||
var trackLangISO = iso639.getCode(trackLang) // eg "de"
|
var trackLangISO = iso639.getCode(trackLang) // eg "de"
|
||||||
@@ -646,8 +645,6 @@ function selectNewlyAddedSubtitle () {
|
|||||||
} else {
|
} else {
|
||||||
selectSubtitle(oldIx || newIx) // otherwise, if we've already selected a track, keep it
|
selectSubtitle(oldIx || newIx) // otherwise, if we've already selected a track, keep it
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('SELECTING', langIx, oldIx, newIx)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure we don't have two subtitle tracks with the same label
|
// Make sure we don't have two subtitle tracks with the same label
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ function CreateTorrentPage (state) {
|
|||||||
pathPrefix = files[0]
|
pathPrefix = files[0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('WTF', pathPrefix, files)
|
|
||||||
|
|
||||||
// Sanity check: show the number of files and total size
|
// Sanity check: show the number of files and total size
|
||||||
var numFiles = files.length
|
var numFiles = files.length
|
||||||
|
|||||||
Reference in New Issue
Block a user