File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/ToolboxBundle/Resources/public/js/frontend/plugins Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 181181 var _ = this ;
182182
183183 if ( _ . playInLightBox && _ . hasPoster ) {
184- $container . on ( 'click' , function ( ev ) {
184+ _ . $element . on ( 'click' , function ( ev ) {
185185 ev . preventDefault ( ) ;
186- $container . trigger ( 'toolbox.video.asset.lightbox' , [ {
186+ _ . $element . trigger ( 'toolbox.video.asset.lightbox' , [ {
187187 'videoId' : _ . videoId ,
188188 'posterPath' : _ . posterPath
189189 } ] ) ;
345345 var init = function ( ) {
346346
347347 if ( _ . playInLightBox && _ . hasPoster ) {
348- $container . on ( 'click' , function ( ev ) {
348+ _ . $element . on ( 'click' , function ( ev ) {
349349 ev . preventDefault ( ) ;
350- $container . trigger ( 'toolbox.video.vimeo.lightbox' , [ {
350+ _ . $element . trigger ( 'toolbox.video.vimeo.lightbox' , [ {
351351 'videoId' : _ . videoId ,
352352 'posterPath' : _ . posterPath ,
353353 'Vimeo' : Vimeo . Player
532532 } ;
533533
534534} )
535- ( jQuery , window , document ) ;
535+ ( jQuery , window , document ) ;
You can’t perform that action at this time.
0 commit comments