Fix #35
This commit is contained in:
parent
2d835b7083
commit
1923e95690
|
@ -1,6 +1,11 @@
|
||||||
// vim:set sw=4 ts=4 sts=4 ft=javascript expandtab:
|
// vim:set sw=4 ts=4 sts=4 ft=javascript expandtab:
|
||||||
|
|
||||||
window.fc = 0;
|
window.fc = 0;
|
||||||
|
// Set websocket
|
||||||
|
window.ws = spawnWebsocket(0, function() {return null;});
|
||||||
|
// Use slice of 10MB
|
||||||
|
window.sliceLength = 2000000;
|
||||||
|
|
||||||
// Copy a link to clipboard
|
// Copy a link to clipboard
|
||||||
function copyToClipboard(txt) {
|
function copyToClipboard(txt) {
|
||||||
var textArea = $('<textarea>');
|
var textArea = $('<textarea>');
|
||||||
|
@ -409,10 +414,4 @@ $(document).ready(function(){
|
||||||
$('#first-view').attr('data-checked', 'data-checked');
|
$('#first-view').attr('data-checked', 'data-checked');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Set websocket
|
|
||||||
window.ws = spawnWebsocket(0, function() {return null;});
|
|
||||||
|
|
||||||
// Use slice of 10MB
|
|
||||||
window.sliceLength = 2000000;
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue