remove leftover console.logs

This commit is contained in:
codl 2018-10-06 01:30:01 +02:00
parent cd096599a2
commit c89602315f
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
2 changed files with 0 additions and 5 deletions

View File

@ -191,9 +191,7 @@ import ArchiveForm from '../components/ArchiveForm.html';
} }
let archive_form_el = document.querySelector('#archive-form'); let archive_form_el = document.querySelector('#archive-form');
console.log('uh');
if(archive_form_el){ if(archive_form_el){
console.log('hey');
let csrf_token = archive_form_el.querySelector('input[name=csrf-token]').value; let csrf_token = archive_form_el.querySelector('input[name=csrf-token]').value;
let archive_form = new ArchiveForm({ let archive_form = new ArchiveForm({
target: archive_form_el, target: archive_form_el,

View File

@ -16,10 +16,8 @@ function get_file_size(file_list){
/* returns size of selected file given an <input type="file"> /* returns size of selected file given an <input type="file">
or 0 if no file is selected */ or 0 if no file is selected */
let size = 0; let size = 0;
console.log('ahh');
for(let i = 0; i < file_list.length; i++){ for(let i = 0; i < file_list.length; i++){
size += file_list[i].size; size += file_list[i].size;
console.log(size);
} }
return size; return size;
} }
@ -31,7 +29,6 @@ export default {
}, },
oncreate(){ oncreate(){
console.log('hello');
}, },
methods: { methods: {