netgis_client_update #312

Merged
mpeltriaux merged 2 commits from netgis_client_update into master 2023-03-16 08:14:17 +01:00
Showing only changes of commit c421399788 - Show all commits

View File

@ -196,6 +196,7 @@ netgis.Toolbar.prototype.createToolbarInput = function( title, value, callback )
var input = document.createElement( "input" ); var input = document.createElement( "input" );
input.setAttribute( "type", "number" ); input.setAttribute( "type", "number" );
input.setAttribute( "min", 0 ); input.setAttribute( "min", 0 );
input.setAttribute( "step", 0.01 );
input.value = value; input.value = value;
input.addEventListener( "change", callback ); input.addEventListener( "change", callback );
input.addEventListener( "keyup", callback ); input.addEventListener( "keyup", callback );