LiveJournal: remove unused variable.
parent
c79a2fc260
commit
b7db698af6
|
@ -18,22 +18,19 @@
|
||||||
<script>
|
<script>
|
||||||
var socialLikesButtons = {
|
var socialLikesButtons = {
|
||||||
livejournal: {
|
livejournal: {
|
||||||
click: function(e) {
|
click: function() {
|
||||||
var form = this._livejournalForm;
|
var html = this.widget.data('html')
|
||||||
if (!form) {
|
.replace(/{url}/g, this.options.url)
|
||||||
var html = this.widget.data('html')
|
.replace(/{title}/g, this.options.title)
|
||||||
.replace(/{url}/g, this.options.url)
|
.replace(/&/g, '&')
|
||||||
.replace(/{title}/g, this.options.title)
|
.replace(/"/g, '"');
|
||||||
.replace(/&/g, '&')
|
var form = $(
|
||||||
.replace(/"/g, '"');
|
'<form action="http://www.livejournal.com/update.bml" method="post" target="_blank" accept-charset="UTF-8">' +
|
||||||
form = $(
|
'<input type="hidden" name="mode" value="full">' +
|
||||||
'<form action="http://www.livejournal.com/update.bml" method="post" target="_blank" accept-charset="UTF-8">' +
|
'<input type="hidden" name="subject" value="' + this.options.title + '">' +
|
||||||
'<input type="hidden" name="mode" value="full">' +
|
'<input type="hidden" name="event" value="' + html + '">' +
|
||||||
'<input type="hidden" name="subject" value="' + this.options.title + '">' +
|
'</form>'
|
||||||
'<input type="hidden" name="event" value="' + html + '">' +
|
);
|
||||||
'</form>'
|
|
||||||
);
|
|
||||||
}
|
|
||||||
form.submit();
|
form.submit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue