mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-04 14:08:38 +00:00
use a number display to avoid wrong input and support locales
This commit is contained in:
parent
3bc39a9ca3
commit
bc193c834c
2 changed files with 8 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ TuneableFrequencyDisplay.prototype = new FrequencyDisplay();
|
|||
|
||||
TuneableFrequencyDisplay.prototype.setupElements = function() {
|
||||
FrequencyDisplay.prototype.setupElements.call(this);
|
||||
this.input = $('<input>');
|
||||
this.input = $('<input type="number" step="any">');
|
||||
this.suffixInput = $('<select tabindex="-1">');
|
||||
this.suffixInput.append($.map(this.suffixes, function(e, p) {
|
||||
return $('<option value="' + e + '">' + p + 'Hz</option>');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue