]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Minor
authorSarven Capadisli <csarven@status.net>
Fri, 30 Oct 2009 16:02:22 +0000 (16:02 +0000)
committerSarven Capadisli <csarven@status.net>
Fri, 30 Oct 2009 16:02:22 +0000 (16:02 +0000)
js/util.js

index d1b34542e2a3dd9afc55f527dec2ab67c0693054..f8e71d440d9fad2cd035ee5dd611049c5417cc51 100644 (file)
@@ -158,7 +158,7 @@ var SN = { // StatusNet
                         alert(errorThrown || textStatus);
                     },
                     success: function(data, textStatus) {
-                        form_new = document._importNode($('form', data).get(0), true);
+                        form_new = document._importNode($('form', data)[0], true);
                         if (form_new.length > 0) {
                             $('#'+form_id).replaceWith(form_new);
                             $('#'+form_new.id).each(function() { SN.U.FormXHR($(this)); });