diff --git a/frontend-js/src/main/js/gui/Legend.js b/frontend-js/src/main/js/gui/Legend.js index 6be26eeed210a85883737b46b9949064d4a40b75..a976ab7a3e54e87c0575a4c5b8a62c900330b4ad 100644 --- a/frontend-js/src/main/js/gui/Legend.js +++ b/frontend-js/src/main/js/gui/Legend.js @@ -39,8 +39,10 @@ Legend.prototype._initializeGui = function () { var legendDiv = Functions.createElement({ type: "div", id: "legend-div", - className: "carousel slide" + className: "carousel" }); + legendDiv.setAttribute("data-ride", "carousel"); + self.getElement().appendChild(legendDiv); var indicators = Functions.createElement({