]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Minor JSLinting
authorSarven Capadisli <csarven@status.net>
Mon, 22 Feb 2010 18:36:03 +0000 (19:36 +0100)
committerSarven Capadisli <csarven@status.net>
Mon, 22 Feb 2010 18:36:03 +0000 (19:36 +0100)
plugins/OStatus/js/ostatus.js

index 5521583de286f40a04855e67076dbf5d9de82937..473f1540a4b47395b86420f205670b6c624a9ec1 100644 (file)
@@ -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()});