From 1923e95690f491fd17b3671935a673b92b719012 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Mon, 8 Feb 2016 01:00:48 +0100 Subject: [PATCH] Fix #35 --- themes/default/public/js/lufi-up.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/themes/default/public/js/lufi-up.js b/themes/default/public/js/lufi-up.js index 102fb44..588e40d 100644 --- a/themes/default/public/js/lufi-up.js +++ b/themes/default/public/js/lufi-up.js @@ -1,6 +1,11 @@ // vim:set sw=4 ts=4 sts=4 ft=javascript expandtab: window.fc = 0; +// Set websocket +window.ws = spawnWebsocket(0, function() {return null;}); +// Use slice of 10MB +window.sliceLength = 2000000; + // Copy a link to clipboard function copyToClipboard(txt) { var textArea = $('