// youtube support only?
cfg.cn.push({
tag: 'iframe',
- cls: 'masonry-brick-image-view',
+ cls: 'masonry-brick-image-view embed-responsive-item',
src: vurl,
frameborder : 0,
allowfullscreen : true
e.preventDefault();
- if (this.activcClass != '') {
+ if (this.activeClass != '') {
this.selectBrick();
}
- this.fireEvent('click', this);
+ this.fireEvent('click', this, e);
},
enter: function(e, el)
m.selectedBrick.push(this.id);
this.el.addClass(this.activeClass);
return;
- },
+ },
isSelected : function(){
return this.el.hasClass(this.activeClass);