Skip to content

Commit 824cf1d

Browse files
author
Nathan Toombs
authored
Use loadPlayer requirejs mapping
There is no reason for this module to use the path to the file when there exists a path mapping to the file within the requirejs-config.js file in this module.
1 parent f1033b2 commit 824cf1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ProductVideo/view/frontend/web/js/fotorama-add-video-events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ define([
77
'jquery',
88
'jquery/ui',
99
'catalogGallery',
10-
'Magento_ProductVideo/js/load-player'
10+
'loadPlayer'
1111
], function ($) {
1212
'use strict';
1313

0 commit comments

Comments
 (0)