Skip to content

Commit

Permalink
IDE: docs: remove content before populating. This will prevent
Browse files Browse the repository at this point in the history
duplicated entries when the sever is rebooted.
  • Loading branch information
giuliomoro committed Jun 13, 2022
1 parent c0cf7af commit eb80f78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IDE/frontend-dev/src/Views/DocumentationView.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ class DocumentationView extends View {
init(){

var self = this;
['context', 'api', 'utility'].forEach((section) => {
let m = $('[data-docs-'+section+']');
m.empty();
});

// The API
$.ajax({
Expand Down
4 changes: 4 additions & 0 deletions IDE/public/js/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eb80f78

Please sign in to comment.