this refers to the dom element, not Embedder
This commit is contained in:
parent
b50217c98c
commit
d448436376
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@
|
|||
};
|
||||
|
||||
Embedder.prototype.onVideoLinkClicked = function(evt) {
|
||||
if(this.canEmbed) {
|
||||
if(Diaspora.widgets.embedder.canEmbed) {
|
||||
evt.preventDefault();
|
||||
Diaspora.widgets.embedder.embed($(this));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue