Commit 728a0b27 authored by git's avatar git Committed by RenatoG

Issue #2873669 by arskiainen, RenatoG: Colorbox does not init if using style 'None'

parent 44fa7bfe
......@@ -116,6 +116,9 @@ class ColorboxAttachment implements ElementAttachmentInterface {
if ($style != 'none') {
$page['#attached']['library'][] = "colorbox/$style";
}
else {
$page['#attached']['library'][] = "colorbox/init";
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment