patricklodder/jquery-zclip

The first click is invalid after refreshing the page

Opened this issue · 1 comments

The first click is invalid after refreshing the page.The second and subsequent clicks can copy content.

$("#export_url").zclip({
path: '../../js/zclip/ZeroClipboard.swf',
copy: function(){
return ElasticSchema.queryLink;
},
beforeCopy: function(){
},
afterCopy: function(){
console.log("zclip success ExportLink");
}
});

I met the same problem and how were you solved this problem . if you know pleause tell me .
Thank you