Fix #33
This commit is contained in:
parent
ff589e485f
commit
2d835b7083
|
@ -399,9 +399,9 @@ function spawnWebsocket(i, callback) {
|
||||||
// When it's ready
|
// When it's ready
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
// Dropzone events binding
|
// Dropzone events binding
|
||||||
var dropZone = $('#files');
|
var dropZone = document.getElementById('files');
|
||||||
dropZone.on('dragover', handleDragOver);
|
dropZone.addEventListener('dragover', handleDragOver, false);
|
||||||
dropZone.on('drop', handleDrop);
|
dropZone.addEventListener('drop', handleDrop, false);
|
||||||
$('label[for="first-view"').on('click', function(){
|
$('label[for="first-view"').on('click', function(){
|
||||||
if ($('#first-view').attr('data-checked') && $('#first-view').attr('data-checked') === 'data-checked') {
|
if ($('#first-view').attr('data-checked') && $('#first-view').attr('data-checked') === 'data-checked') {
|
||||||
$('#first-view').attr('data-checked', null);
|
$('#first-view').attr('data-checked', null);
|
||||||
|
|
Loading…
Reference in New Issue