Skip to content

Commit

Permalink
see cl 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Patzer committed Jan 23, 2019
1 parent 81ac91b commit 21bb099
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog
All notable changes to this project will be documented in this file.

## [3.1.0] - 2018-01-15
## [3.1.1] - 2018-01-15

#### Added
- `@hundh/contao-utils-bundle`

## [3.1.0] - 2019-01-15

#### Added
- `tl_calendar_events` support
Expand Down
6 changes: 3 additions & 3 deletions src/Resources/assets/js/contao-youtube-bundle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import utilsBundle from 'contao-utils-bundle';
import { utilsBundle } from '@hundh/contao-utils-bundle';
import alertify from 'alertifyjs';

class YouTubeBundle {
Expand All @@ -24,7 +24,7 @@ class YouTubeBundle {
});

// handle click event
utilsBundle.events.addDynamicEventListener('click', '[data-media="youtube"]', function(target) {
utilsBundle.event.addDynamicEventListener('click', '[data-media="youtube"]', function(target) {
YouTubeBundle.initVideo(target);
});
}
Expand All @@ -34,7 +34,7 @@ class YouTubeBundle {
iframe = video.querySelector('iframe');

// stop playing video on closing any modal window
utilsBundle.events.addDynamicEventListener('click', '[data-dismiss="modal"]', function(target) {
utilsBundle.event.addDynamicEventListener('click', '[data-dismiss="modal"]', function(target) {
iframe.setAttribute('src', iframe.getAttribute('data-src'));
});

Expand Down
4 changes: 2 additions & 2 deletions src/Resources/public/js/contao-youtube-bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21bb099

Please sign in to comment.