diff -r 36517cb225fe -r 02c04d2c8fd8 src/widgets/Social.js --- a/src/widgets/Social.js Thu Dec 31 15:51:09 2015 +0100 +++ b/src/widgets/Social.js Sun Nov 12 22:07:33 2017 +0100 @@ -2,7 +2,6 @@ IriSP.Widgets.Social = function(player, config) { IriSP.Widgets.Widget.call(this, player, config); - ZeroClipboard.setMoviePath( IriSP.getLib('zeroClipboardSwf') ); }; IriSP.Widgets.Social.prototype = new IriSP.Widgets.Widget(); @@ -19,7 +18,7 @@ IriSP.Widgets.Social.prototype.template = '{{#show_url}}
' - + '
{{l10n.copy}}
{{/show_url}}' + + '
{{/show_url}}' + '{{#show_fb}}{{/show_fb}}' + '{{#show_twitter}}{{/show_twitter}}' + '{{#show_gplus}}{{/show_gplus}}' @@ -68,23 +67,7 @@ IriSP.Widgets.Social.prototype.toggleCopy = function() { var _pop = this.$.find(".Ldt-Social-UrlPop"); _pop.toggle(); - if (_pop.is(":visible")) { - if (typeof this.clip == "undefined") { - this.clip = new ZeroClipboard.Client(); - this.clip.setHandCursor( true ); - this.clip.glue(this.clipId); - var _this = this; - this.clip.addEventListener( 'onMouseUp', function() { - _pop.hide(); - _this.clip.hide(); - }); - } - this.clip.show(); - this.clip.setText( this.url ); - this.$.find(".Ldt-Social-Input").val(this.url).focus(); - } else { - this.clip.hide(); - } + this.$.find(".Ldt-Social-Input").val(this.url).focus(); }; IriSP.Widgets.Social.prototype.updateUrls = function(_url, _text) {