forked from GNUsocial/gnu-social
Minor JSLinting
This commit is contained in:
parent
3ed3796135
commit
a1549ebf87
@ -64,7 +64,7 @@ SN.U.DialogBox = {
|
|||||||
f.show();
|
f.show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
a[0].href = (a[0].href.match(/[\\?]/) == null) ? a[0].href+'?' : a[0].href+'&';
|
a[0].href = (a[0].href.match(/[\\?]/) === null) ? a[0].href+'?' : a[0].href+'&';
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
dataType: 'xml',
|
dataType: 'xml',
|
||||||
@ -103,7 +103,7 @@ SN.U.DialogBox = {
|
|||||||
|
|
||||||
if (form.attr('id') == 'form_ostatus_connect') {
|
if (form.attr('id') == 'form_ostatus_connect') {
|
||||||
SN.Init.OStatusCookie();
|
SN.Init.OStatusCookie();
|
||||||
form.find('#profile').val(SN.U.StatusNetInstance.Get().profile)
|
form.find('#profile').val(SN.U.StatusNetInstance.Get().profile);
|
||||||
|
|
||||||
form.find("[type=submit]").bind('click', function() {
|
form.find("[type=submit]").bind('click', function() {
|
||||||
SN.U.StatusNetInstance.Set({profile: form.find('#profile').val()});
|
SN.U.StatusNetInstance.Set({profile: form.find('#profile').val()});
|
||||||
|
Loading…
Reference in New Issue
Block a user