diff options
author | Sarven Capadisli <csarven@status.net> | 2010-02-22 19:36:03 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-02-22 19:36:03 +0100 |
commit | a1549ebf87b7c1629c23704b1ec733c1e7c2a57d (patch) | |
tree | e5e4e0fbf7b618f864e220c4abc2aa6bec9387d9 /plugins/OStatus | |
parent | 3ed379613598645f75a402baa2c4abcf78984639 (diff) |
Minor JSLinting
Diffstat (limited to 'plugins/OStatus')
-rw-r--r-- | plugins/OStatus/js/ostatus.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/js/ostatus.js b/plugins/OStatus/js/ostatus.js index 5521583de..473f1540a 100644 --- a/plugins/OStatus/js/ostatus.js +++ b/plugins/OStatus/js/ostatus.js @@ -64,7 +64,7 @@ SN.U.DialogBox = { f.show(); } 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({ type: 'GET', dataType: 'xml', @@ -103,7 +103,7 @@ SN.U.DialogBox = { if (form.attr('id') == 'form_ostatus_connect') { 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() { SN.U.StatusNetInstance.Set({profile: form.find('#profile').val()}); |