Skip to content

Commit

Permalink
chore: removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Jul 5, 2021
1 parent 2a80430 commit 2ae4027
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions views/default/js/group_tools/group_edit_tabbed.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,18 @@ define(function (require) {

// hide everything
var $content = $('.elgg-layout-content');
// $content.find('> form, > div:not(.elgg-message)').hide();
$content.find('> form, > div:not(.elgg-message)').hide();
$('.group-tools-group-edit-section').hide();

var link = $(this).children('a').attr('href');
console.log(link);

switch (link) {
case '#group-tools-group-edit-profile':
$content.find('> form').show();
$('#group-tools-group-edit-profile').show();

break;
case '#group-tools-group-edit-reason':
console.log(link);
$content.find('> form').show();
$('#group-tools-group-edit-reason').show();

Expand Down

0 comments on commit 2ae4027

Please sign in to comment.