Add missing space in JavaScript code. #1555

Fixes some `JSLint` inspection violations.

Description:
>JSLint: Missing space between 'for' and '('. (at line 9)
This commit is contained in:
Michal Kordas 2015-08-20 23:16:05 +02:00 committed by Roman Ivanov
parent 7e6f2135a9
commit 984409e0cd
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ function main() {
var url = window.location.href;
var anchors = document.getElementsByTagName('h2');
var mass = [];
for(var i = 0; i < anchors.length; i++) {
for (var i = 0; i < anchors.length; i++) {
mass.push(anchors[i].childNodes[0].name);
}
var links = [];