summaryrefslogtreecommitdiffstats
path: root/toolkit/content/browser-content.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 20:56:33 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 20:56:33 +0200
commit6f1fcab2d81caedd96d9404386bc92f9884c30ce (patch)
tree90b742808470ebfb8d55aea1f18fe172340f2170 /toolkit/content/browser-content.js
parent7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8 (diff)
downloadUXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar
UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar.gz
UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar.lz
UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.tar.xz
UXP-6f1fcab2d81caedd96d9404386bc92f9884c30ce.zip
Bug 1363672 - Add step support to date picker
Diffstat (limited to 'toolkit/content/browser-content.js')
-rw-r--r--toolkit/content/browser-content.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/content/browser-content.js b/toolkit/content/browser-content.js
index 731b55185..b955bd29d 100644
--- a/toolkit/content/browser-content.js
+++ b/toolkit/content/browser-content.js
@@ -1728,9 +1728,10 @@ let DateTimePickerListener = {
// element's value.
value: Object.keys(value).length > 0 ? value
: this._inputElement.value,
- step: this._inputElement.step,
min: this._inputElement.min,
max: this._inputElement.max,
+ step: this._inputElement.getStep(),
+ stepBase: this._inputElement.getStepBase(),
},
});
break;