File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 61
61
twitter : { //http://twitter.com/about/resources/tweetbutton
62
62
url : '' , //if you need to personalize url button
63
63
urlCount : false , //if you want to use personnalize button url on global counter
64
+ counturl : '' , //special option for twitter to change which url is shown in its bubble
64
65
count : 'horizontal' ,
65
66
hashtags : '' ,
66
67
via : '' ,
156
157
} ,
157
158
twitter : function ( self ) {
158
159
var sett = self . options . buttons . twitter ;
159
- $ ( self . element ) . find ( '.buttons' ) . append ( '<div class="button twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="' + ( sett . url !== '' ? sett . url : self . options . url ) + '" data-count="' + sett . count + '" data-text="' + self . options . text + '" data-via="' + sett . via + '" data-hashtags="' + sett . hashtags + '" data-related="' + sett . related + '" data-lang="' + sett . lang + '">Tweet</a></div>' ) ;
160
+ $ ( self . element ) . find ( '.buttons' ) . append ( '<div class="button twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="' + ( sett . url !== '' ? sett . url : self . options . url ) + '" data-count="' + sett . count + '" data-text="' + self . options . text + '" data-via="' + sett . via + '" data-hashtags="' + sett . hashtags + '" data-related="' + sett . related + '" data-lang="' + sett . lang + '" data-counturl="' + sett . counturl + '" >Tweet</a></div>') ;
160
161
var loading = 0 ;
161
162
if ( typeof twttr === 'undefined' && loading == 0 ) {
162
163
loading = 1 ;
You can’t perform that action at this time.
0 commit comments