diff --git a/lib/mixins/decoration-management.coffee b/lib/mixins/decoration-management.coffee index 3f615d2c..39e01ec7 100644 --- a/lib/mixins/decoration-management.coffee +++ b/lib/mixins/decoration-management.coffee @@ -93,6 +93,7 @@ class DecorationManagement extends Mixin decorateMarker: (marker, decorationParams) -> return unless marker? marker = @getMarker(marker.id) + return unless marker? if !decorationParams.scope? and decorationParams.class? cls = decorationParams.class.split(' ').join('.')