Update shit

This commit is contained in:
2020-07-18 14:31:56 +02:00
parent bb9709ee0d
commit 980826eb81
30 changed files with 11 additions and 8 deletions

0
static/js/jquery.min.js vendored Normal file → Executable file
View File

0
static/js/pdf.js Normal file → Executable file
View File

0
static/js/pdf.worker.js vendored Normal file → Executable file
View File

2
static/js/speaker.js Normal file → Executable file
View File

@@ -25,7 +25,7 @@ $(function() { sio = (function() {
var lasers = {};
var drawAudienceLasers = false;
PDFJS.getDocument('/static/uploaded/' + filename + '.pdf').then(function getPdf(_pdf) {
PDFJS.getDocument('/static/uploaded/' + filename + '.pdf?' + (Math.floor(Math.random() * 10000))).then(function getPdf(_pdf) {
pdf = _pdf;
updateUI();
});

2
static/js/viewer.js Normal file → Executable file
View File

@@ -18,7 +18,7 @@ $(function() { sio = (function() {
var lasers = {};
PDFJS.getDocument('/static/uploaded/' + filename + '.pdf').then(function getPdfHelloWorld(_pdf) {
PDFJS.getDocument('/static/uploaded/' + filename + '.pdf?' + (Math.floor(Math.random() * 10000))).then(function getPdfHelloWorld(_pdf) {
pdf = _pdf;
update();