I get this piece of code that does something on slide change.
revapi5.bind('revolution.slide.onchange', function(event, data) {
a('.tp-revslider-slidesli').each(function(i, obj) {a(this).find('.video-holder').css('background','none');});
var dataSource = a('.active-revslide').attr('data-source');
var bkgConstruct = 'url('+dataSource+')';
a('.active-revslide').find('.video-holder').css('background',bkgConstruct).css({
'background-size':'contain',
'background-position':'center center',
'background-repeat':'no-repeat',
'height':'100%'
});
});
The problem is regarding this page https://www.visitrauland.com/webkamera/
Uncaught TypeError: Cannot read property 'bind' of undefined
The thing is that this worked well until update from 5.4.6.6 to 5.4.7.1.
I tried even with example codes from the dashboard and I had the same problem with “bind”.
The Firefox doesn’t have a problem with bind
, only Chrome.
What could cause this?