Remove the duplicated page tail left after the closing html tag
A dollar sign before a quote is a substitution token to patch_git_file, so a price label spliced the rest of the page in after itself. trailer.html carried 33 KB of raw JavaScript after its closing tag, which rendered as garbled text in the page body; script.html carried 65 KB, commented out. The copy above the first closing tag was verified complete: it parses, and it defines every function and calls every action the removed text did.
This commit is contained in:
parent
f8c72e94ae
commit
3f5bd70f24
1 changed files with 0 additions and 704 deletions
704
trailer.html
704
trailer.html
|
|
@ -1145,707 +1145,3 @@
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
+ (filmed * 0.02).toFixed(2) + '</button>');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (unfilmed && !undrawn)
|
|
||||||
out.push('<button type="button" class="btn primary" data-film="' + esc(meta.id)
|
|
||||||
+ '">Film ' + (filmed ? 'the ' + unfilmed + ' remaining shots' : 'all ' + shots.length + ' shots')
|
|
||||||
+ ' · $' + (unfilmed * 0.75).toFixed(2) + '</button>');
|
|
||||||
if (filmed)
|
|
||||||
out.push('<button type="button" class="btn primary" data-assemble="' + esc(meta.id)
|
|
||||||
+ '">Make the trailer · ' + filmed + ' of ' + shots.length + ' shots</button>');
|
|
||||||
}
|
|
||||||
return out.join("");
|
|
||||||
}
|
|
||||||
|
|
||||||
// A cut may move shots as well as drop them, which makes it a different
|
|
||||||
// film rather than a shorter one. Worth saying out loud.
|
|
||||||
function reordered(ids) {
|
|
||||||
var a = (ids || []).map(String);
|
|
||||||
var b = a.slice().sort();
|
|
||||||
return a.join(" | |||||||