fixes #806
diff --git a/player/index.html b/player/index.html
index 9a6d3aa..0e00c64 100644
--- a/player/index.html
+++ b/player/index.html
@@ -141,6 +141,7 @@
<script src="js/utils/expressions/MaskInterface.js" data-light-skip="true"></script>
<script src="js/utils/expressions/ExpressionValue.js" data-light-skip="true"></script>
<script src="js/effects/SliderEffect.js" data-light-skip="true"></script>
+ <script src="js/effects/EffectsManagerPlaceholder.js" ></script>
<script src="js/EffectsManager.js" data-light-skip="true"></script>
<!-- end Expressions -->
<!-- endbuild -->
diff --git a/player/js/effects/EffectsManagerPlaceholder.js b/player/js/effects/EffectsManagerPlaceholder.js
new file mode 100644
index 0000000..fed52b5
--- /dev/null
+++ b/player/js/effects/EffectsManagerPlaceholder.js
@@ -0,0 +1 @@
+function EffectsManager(){}
\ No newline at end of file
diff --git a/player/js/elements/svgElements/SVGBaseElement.js b/player/js/elements/svgElements/SVGBaseElement.js
index ddeb18a..6080a85 100644
--- a/player/js/elements/svgElements/SVGBaseElement.js
+++ b/player/js/elements/svgElements/SVGBaseElement.js
@@ -88,13 +88,11 @@
} else {
this.baseElement = this.layerElement;
}
- if ((this.data.ln || this.data.cl) && (this.data.ty === 4 || this.data.ty === 0)) {
- if (this.data.ln) {
- this.layerElement.setAttribute('id', this.data.ln);
- }
- if (this.data.cl) {
- this.layerElement.setAttribute('class', this.data.cl);
- }
+ if (this.data.ln) {
+ this.layerElement.setAttribute('id', this.data.ln);
+ }
+ if (this.data.cl) {
+ this.layerElement.setAttribute('class', this.data.cl);
}
//Clipping compositions to hide content that exceeds boundaries. If collapsed transformations is on, component should not be clipped
if (this.data.ty === 0 && !this.data.hd) {