diff --git a/capsule-prototype/js/PopupPanelWidget.js b/capsule-prototype/js/PopupPanelWidget.js index cef0a810ab947b7fd0b5a0499152a8c5ec0fc1e6..242808c8e2e4d1a745037e3c2eda0b1e0ec43066 100644 --- a/capsule-prototype/js/PopupPanelWidget.js +++ b/capsule-prototype/js/PopupPanelWidget.js @@ -220,7 +220,7 @@ AnnotationTCPanelEdition.prototype.appendInputEditorDiv = function (parentDiv) { event.stopPropagation(); }) this.editDiv.append($('<span>').addClass('popupTClabel').html('start')); - this.popupTCeditDivMinStart = $('<input class="popupTCeditfield" id="popupTCinMin" maxLength="2" type="text" value="">'); + this.popupTCeditDivMinStart = $('<input class="popupTCeditfield" id="popupTCinMin" type="text" value="">'); this.popupTCeditDivMinStart .val(Math.floor(that.tag.getTimeStart()/60).toString(10).padStart(2, '0')) .click(function (event) { @@ -229,7 +229,7 @@ AnnotationTCPanelEdition.prototype.appendInputEditorDiv = function (parentDiv) { .on('input', onlyNumber); this.editDiv.append(this.popupTCeditDivMinStart); this.editDiv.append(':'); - this.popupTCeditDivSecStart = $('<input class="popupTCeditfield" id="popupTCinSec" maxLength="2" type="text" value="">'); + this.popupTCeditDivSecStart = $('<input class="popupTCeditfield" id="popupTCinSec" type="text" value="">'); this.popupTCeditDivSecStart .val((that.tag.getTimeStart()%60).toString(10).padStart(2, '0')) .click(function (event) { @@ -251,7 +251,6 @@ AnnotationTCPanelEdition.prototype.appendInputEditorDiv = function (parentDiv) { this.popupTCeditDivMinEnd = $('<input>'); this.popupTCeditDivMinEnd .attr('id', 'popupTCoutMin') - .attr('maxlength', '2') .attr('type', 'text') .addClass('popupTCeditfield') .val(Math.floor(that.tag.getTimeEnd()/60).toString(10).padStart(2, '0')) @@ -265,7 +264,6 @@ AnnotationTCPanelEdition.prototype.appendInputEditorDiv = function (parentDiv) { this.popupTCeditDivSecEnd = $('<input>'); this.popupTCeditDivSecEnd .attr('id', 'popupTCoutSec') - .attr('maxlength', '2') .attr('type', 'text') .addClass('popupTCeditfield') .val(Math.floor(that.tag.getTimeEnd()%60).toString(10).padStart(2, '0'))