js scrutinizer fixes

This commit is contained in:
Daku
2016-06-19 05:00:09 +01:00
parent b75638cace
commit 6486a4757f
2 changed files with 9 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ var Tagger = {
tag : {
submit : function () {
var l = this.list.childNodes.length;
var tags = Array();
var tags = [];
for(var i=0; i<l; i++) {
var s_tag = this.list.childNodes[i].firstChild.data;
tags.push(s_tag);