Merge branch 'feature/LIL-638' into 'master'

LIL-638

See merge request lilcity/backend!129
remotes/origin/hotfix/LIL-661
cfwme 7 years ago
commit 2cab36e8df
  1. 8
      web/src/js/modules/popup.js

@ -4,7 +4,10 @@ var selectedWeekdays = {};
$(document).ready(function () {
$(".js-video-modal").each(function(){
const $this = $(this);
const url = $this.data('video-url');
const url = $this.data('videoUrl');
if(! url){
return;
}
let data;
let videoId;
let channel;
@ -22,7 +25,8 @@ $(document).ready(function () {
channel = 'vimeo';
videoId = split[split.length - 1];
}
$this.data('videoId', videoId);
$this.attr('data-video-id', videoId);
$this.attr('data-video-url', '');
$this.modalVideo({ channel });
});

Loading…
Cancel
Save