Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
colorbox-3183921
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Issue forks
colorbox-3183921
Commits
728a0b27
Commit
728a0b27
authored
Apr 28, 2017
by
git
Committed by
RenatoG
Apr 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2873669
by arskiainen, RenatoG: Colorbox does not init if using style 'None'
parent
44fa7bfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/ColorboxAttachment.php
src/ColorboxAttachment.php
+3
-0
No files found.
src/ColorboxAttachment.php
View file @
728a0b27
...
...
@@ -116,6 +116,9 @@ class ColorboxAttachment implements ElementAttachmentInterface {
if
(
$style
!=
'none'
)
{
$page
[
'#attached'
][
'library'
][]
=
"colorbox/
$style
"
;
}
else
{
$page
[
'#attached'
][
'library'
][]
=
"colorbox/init"
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment