trivial: remove unncessary calls to console.log()

This commit is contained in:
Frédéric Péters 2015-05-26 17:48:02 +02:00
parent 476f7a4694
commit 099a07a98b
1 changed files with 0 additions and 2 deletions

View File

@ -10,7 +10,6 @@ function init_pages_list()
* in sync with the css file */
var item_offset = ui.offset.left - list_offset + parseInt($(ui.item).data('level'))*25;
var new_level = Math.abs(Math.round(item_offset / 25));
console.log(new_level);
if (new_level <= 0) {
new_level = 0;
} else {
@ -142,7 +141,6 @@ $(function() {
$('#asset-delete').on('click', function() {
var img_src = $('#asset-img img').attr('src');
var thumb_item = $('#assets-thumbs a[href="' + img_src + '"]').parent();
console.log('thumb item:', thumb_item);
var img_orig = $(thumb_item).data('orig');
$(thumb_item).hide();
$('#asset-img').empty();