Skip to content

Commit

Permalink
Fixed default section removed from component properties after a secon…
Browse files Browse the repository at this point in the history
…d rendering
  • Loading branch information
givanz committed Mar 21, 2024
1 parent 36d6fbd commit 9e7fda5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/builder/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ Vvveb.Components = {
var sectionName = this.dataset.section;
componentsPanelSections[sectionName] = $(this);
$('.section[data-section!="default"]', this).remove();
$('label[for!="header_default"]', this).remove();
$('input[id!="header_default"]', this).remove();
$('label[data-header!="default"] + input', this).remove();
$('label[data-header!="default"]', this).remove();
});

var section = componentsPanelSections[defaultSection].find('.section[data-section="default"]');
Expand Down Expand Up @@ -1454,7 +1454,7 @@ Vvveb.Builder = {
return true;
}
}

$("#highlight-box").css(
{"top": offset.top - self.frameDoc.scrollTop() ,
"left": offset.left - self.frameDoc.scrollLeft() ,
Expand Down

0 comments on commit 9e7fda5

Please sign in to comment.