Update shit
This commit is contained in:
0
static/js/jquery.min.js
vendored
Normal file → Executable file
0
static/js/jquery.min.js
vendored
Normal file → Executable file
0
static/js/pdf.js
Normal file → Executable file
0
static/js/pdf.js
Normal file → Executable file
0
static/js/pdf.worker.js
vendored
Normal file → Executable file
0
static/js/pdf.worker.js
vendored
Normal file → Executable file
2
static/js/speaker.js
Normal file → Executable file
2
static/js/speaker.js
Normal file → Executable 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
2
static/js/viewer.js
Normal file → Executable 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();
|
||||
|
||||
Reference in New Issue
Block a user