Skip to content

Commit

Permalink
Merge pull request #47 from bugfolder/42_missing_dist
Browse files Browse the repository at this point in the history
Issue #42: Add missing ‘dist’ to path to DOMPurify library.
  • Loading branch information
bugfolder committed Jul 17, 2023
2 parents 7f26a7a + 4a98688 commit 49459a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colorbox.module
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ function colorbox_library_info() {
'website' => 'https://github.com/cure53/DOMPurify',
'version' => '2.3.6',
'js' => array(
$colorbox_path . '/libraries/DOMPurify/purify.min.js' => array(),
$colorbox_path . '/libraries/DOMPurify/dist/purify.min.js' => array(),
),
);
$libraries['DOMPurify-source'] = array(
'title' => 'DOMPurify',
'website' => 'https://github.com/cure53/DOMPurify',
'version' => '2.3.6',
'js' => array(
$colorbox_path . '/libraries/DOMPurify/purify.js' => array(),
$colorbox_path . '/libraries/DOMPurify/dist/purify.js' => array(),
),
);

Expand Down

0 comments on commit 49459a4

Please sign in to comment.