minor renovations, beautify round 2 (final)

This commit is contained in:
Ilya Kantor 2015-03-12 10:42:43 +03:00
parent 8410ce6421
commit 14d324c9e4
9 changed files with 26 additions and 23 deletions

View file

@ -243,11 +243,11 @@ select.selectedIndex = 0; // первая опция
var form = document.forms[0];
var select = form.elements.genre;
for (var i=0; i<select.options.length; i++) {
for (var i = 0; i < select.options.length; i++) {
var option = select.options[i];
*!*
if(option.selected) {
alert(option.value);
alert( option.value );
}
*/!*
}