2
0
Эх сурвалжийг харах

Bugfix. Two undefined vars (now an issue because of strict mode)

JC Brand 11 жил өмнө
parent
commit
37ac91dc1e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -2024,7 +2024,7 @@
                     $fields = $stanza.find('field'),
                     title = $stanza.find('title').text(),
                     instructions = $stanza.find('instructions').text(),
-                    i, j, options=[];
+                    i, j, options=[], $field, $options;
                 var input_types = {
                     'text-private': 'password',
                     'text-single': 'textline',