Skip to content

Commit

Permalink
Merge pull request #14 from zxl9171/master
Browse files Browse the repository at this point in the history
fixed the problem of when selecting part of the sites.
  • Loading branch information
overtrue committed Jan 28, 2016
2 parents 4a29096 + aaf2d6f commit 64b2a40
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/js/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@
initialized: false,
};

var $globals = $.extend(true, $defaults, $options);

var $globals = $defaults;
for(attr in $options){
$globals[attr] = $options[attr];
}
var $templates = {
qzone : 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={{URL}}&title={{TITLE}}&desc={{DESCRIPTION}}&summary={{SUMMARY}}&site={{SOURCE}}',
qq : 'http://connect.qq.com/widget/shareqq/index.html?url={{URL}}&title={{TITLE}}&source={{SOURCE}}&desc={{DESCRIPTION}}',
Expand Down

0 comments on commit 64b2a40

Please sign in to comment.