equal
deleted
inserted
replaced
41 |
41 |
42 window.social = function(opts) { |
42 window.social = function(opts) { |
43 |
43 |
44 var opts = opts || {}; |
44 var opts = opts || {}; |
45 opts.sel = opts.sel || $(".Ldt-Social"); |
45 opts.sel = opts.sel || $(".Ldt-Social"); |
46 opts.url = opts.url || document.location.href |
46 opts.url = opts.url || document.location.href; |
47 opts.text = opts.text || $("title").text(); |
47 opts.text = opts.text || $("title").text(); |
48 |
48 |
49 if (!opts.sel.length) { |
49 if (!opts.sel.length) { |
50 return; |
50 return; |
51 } |
51 } |
114 opts.sel.find(this).attr("href"), |
114 opts.sel.find(this).attr("href"), |
115 "_blank", |
115 "_blank", |
116 "height=300,width=450,left=100,top=100,toolbar=0,menubar=0,status=0,location=0"); |
116 "height=300,width=450,left=100,top=100,toolbar=0,menubar=0,status=0,location=0"); |
117 return false; |
117 return false; |
118 }); |
118 }); |
119 } |
119 }; |
120 }()); |
120 }()); |