Skip to content

Commit

Permalink
Fix issue with absolute mode and components with scripts. Closes #2359
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Oct 30, 2019
1 parent 7ca57be commit 5217407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canvas/view/CanvasView.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export default Backbone.View.extend({
const id = model.getId();

if (!view.scriptContainer) {
view.scriptContainer = $(`<div id="${id}">`);
view.scriptContainer = $(`<div data-id="${id}">`);
this.getJsContainer().appendChild(view.scriptContainer.get(0));
}

Expand Down

0 comments on commit 5217407

Please sign in to comment.