summaryrefslogtreecommitdiff
path: root/plugins/OStatus
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-02-22 19:36:03 +0100
committerSarven Capadisli <csarven@status.net>2010-02-22 19:36:03 +0100
commita1549ebf87b7c1629c23704b1ec733c1e7c2a57d (patch)
treee5e4e0fbf7b618f864e220c4abc2aa6bec9387d9 /plugins/OStatus
parent3ed379613598645f75a402baa2c4abcf78984639 (diff)
Minor JSLinting
Diffstat (limited to 'plugins/OStatus')
-rw-r--r--plugins/OStatus/js/ostatus.js4
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()});