Skip to content

Commit 49459a4

Browse files
authored
Merge pull request #47 from bugfolder/42_missing_dist
Issue #42: Add missing ‘dist’ to path to DOMPurify library.
2 parents 7f26a7a + 4a98688 commit 49459a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

colorbox.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ function colorbox_library_info() {
111111
'website' => 'https://github.com/cure53/DOMPurify',
112112
'version' => '2.3.6',
113113
'js' => array(
114-
$colorbox_path . '/libraries/DOMPurify/purify.min.js' => array(),
114+
$colorbox_path . '/libraries/DOMPurify/dist/purify.min.js' => array(),
115115
),
116116
);
117117
$libraries['DOMPurify-source'] = array(
118118
'title' => 'DOMPurify',
119119
'website' => 'https://github.com/cure53/DOMPurify',
120120
'version' => '2.3.6',
121121
'js' => array(
122-
$colorbox_path . '/libraries/DOMPurify/purify.js' => array(),
122+
$colorbox_path . '/libraries/DOMPurify/dist/purify.js' => array(),
123123
),
124124
);
125125

0 commit comments

Comments
 (0)