瀏覽代碼

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

JC Brand 11 年之前
父節點
當前提交
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',