Browse Source

Remove debug code and console calls

Abdullah Almsaeed 6 years ago
parent
commit
c14ebe0a65
1 changed files with 0 additions and 2 deletions
  1. 0 2
      tripal/theme/js/tripal.js

+ 0 - 2
tripal/theme/js/tripal.js

@@ -30,7 +30,6 @@
       // Remove auto attached fields that are empty
       if (hide_fields) {
         $('.tripal_pane .field-items').each(function () {
-          console.log($(this).text().trim().length);
           if ($(this).text().trim().length === 0) {
             $(this).parents('tr').first().remove();
             $(this).parents('.field').first().remove();
@@ -99,7 +98,6 @@
     var content = data['content'];
     var id      = data['id'];
     var field   = $('#' + id);
-    console.log(field);
     var classes = field.parents('.tripal_pane').first().attr('class').split(' ');
     var pane_id = this.extractPaneID(classes);
     $('#' + id + ' .field-items').replaceWith(content);