summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-30 16:02:22 +0000
committerSarven Capadisli <csarven@status.net>2009-10-30 16:02:22 +0000
commit93506faaa608efbcf264bb3f1f0ed363d81bb390 (patch)
treef2004ae25398415da65772c7d2380387cfee4283
parente134f7ceb15435aaaeff65269a51c15a9a3552df (diff)
Minor
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index d1b34542e..f8e71d440 100644
--- a/js/util.js
+++ b/js/util.js
@@ -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)); });