This commit is contained in:
Luc Didry 2015-12-26 10:09:58 +01:00 committed by Luc Didry
parent ff589e485f
commit 2d835b7083
1 changed files with 3 additions and 3 deletions

View File

@ -399,9 +399,9 @@ function spawnWebsocket(i, callback) {
// When it's ready
$(document).ready(function(){
// Dropzone events binding
var dropZone = $('#files');
dropZone.on('dragover', handleDragOver);
dropZone.on('drop', handleDrop);
var dropZone = document.getElementById('files');
dropZone.addEventListener('dragover', handleDragOver, false);
dropZone.addEventListener('drop', handleDrop, false);
$('label[for="first-view"').on('click', function(){
if ($('#first-view').attr('data-checked') && $('#first-view').attr('data-checked') === 'data-checked') {
$('#first-view').attr('data-checked', null);