w2v-server: fix iterations id
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 0f45dc6..b344a28 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -99,7 +99,7 @@
});
$( function() {
- $( "#iterations" ).spinner({
+ $( "#no_iterations" ).spinner({
spin: function( event, ui ) {
if ( ui.value < 1000 ) {
$( this ).spinner( "value", 1000 );
@@ -542,10 +542,10 @@
% }
<label for="neighbours">max. neighbours:</label>
<input id="neighbours" size="4" name="n" value="<%= $no_nbs %>">
- <label for="iterations">max. iterations</label>
- <input id="iterations" name="N" size="4" value="<%= $no_iterations %>">
<label for="dosom">SOM</label>
<input id="dosom" type="checkbox" name="som" value="1" <%= ($show_som ? "checked" : "") %>>
+ <label for="no_iterations">max. iterations</label>
+ <input id="no_iterations" name="N" size="4" value="<%= $no_iterations %>">
% if($collocators) {
<label for="sortby">window/sort</label>
<select id="sortby" name="sort">